Deletions and cleanups
This commit is contained in:
@@ -51,7 +51,7 @@ using namespace std;
|
||||
|
||||
extern int32_t ASSETCHAINS_FOUNDERS;
|
||||
uint64_t the_commission(const CBlock *pblock,int32_t height);
|
||||
int32_t komodo_blockload(CBlock& block,CBlockIndex *pindex);
|
||||
int32_t hush_blockload(CBlock& block,CBlockIndex *pindex);
|
||||
arith_uint256 komodo_PoWtarget(int32_t *percPoSp,arith_uint256 target,int32_t height,int32_t goalperc);
|
||||
|
||||
/**
|
||||
@@ -1045,7 +1045,7 @@ UniValue getblocksubsidy(const UniValue& params, bool fHelp, const CPubKey& mypk
|
||||
{
|
||||
CBlockIndex* pblockIndex = chainActive[nHeight];
|
||||
CBlock block;
|
||||
if ( komodo_blockload(block, pblockIndex) == 0 )
|
||||
if ( hush_blockload(block, pblockIndex) == 0 )
|
||||
nFoundersReward = the_commission(&block, nHeight);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user