Decentralized Devtax
This commit is contained in:
@@ -1036,6 +1036,8 @@ UniValue getblocksubsidy(const UniValue& params, bool fHelp, const CPubKey& mypk
|
||||
UniValue result(UniValue::VOBJ);
|
||||
result.push_back(Pair("miner", ValueFromAmount(nReward)));
|
||||
|
||||
// the value of ASSETCHAINS_SCRIPTPUB is not used here, this is just a check if it exists
|
||||
// so we don't need to call scriptpub_for_height()
|
||||
if ( strlen(ASSETCHAINS_OVERRIDE_PUBKEY.c_str()) == 66 || ASSETCHAINS_SCRIPTPUB.size() > 1 )
|
||||
{
|
||||
if ( ASSETCHAINS_FOUNDERS == 0 && ASSETCHAINS_COMMISSION != 0 )
|
||||
|
||||
Reference in New Issue
Block a user