Browse Source

cleanup

pull/136/head
Jonathan "Duke" Leto 4 years ago
parent
commit
0c0b2ec1cc
  1. 5
      src/komodo_bitcoind.h
  2. 4
      src/main.cpp

5
src/komodo_bitcoind.h

@ -1236,10 +1236,7 @@ CAmount GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams);
uint64_t komodo_commission(const CBlock *pblock,int32_t height)
{
static bool didinit = false,ishush3 = false;
// LABS fungible chains, cannot have any block reward!
if ( is_STAKED(ASSETCHAINS_SYMBOL) == 2 )
return(0);
static bool didinit = false, ishush3 = false;
if (!didinit) {
ishush3 = strncmp(ASSETCHAINS_SYMBOL, "HUSH3",5) == 0 ? true : false;

4
src/main.cpp

@ -2416,9 +2416,7 @@ CAmount GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams)
else if ( nHeight < 2*KOMODO_ENDOFERA )
return(2 * COIN);
else return(COIN);
}
else
{
} else {
return(komodo_ac_block_subsidy(nHeight));
}
}

Loading…
Cancel
Save