Skip to content

Commit

Permalink
modified: src/validation.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
exosiscrypto committed Jan 30, 2019
1 parent d86f7a7 commit e77b2f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2141,7 +2141,7 @@ bool CChainState::ConnectBlock(const CBlock& block, CValidationState& state, CBl
LogPrint(BCLog::ALL, "Validation: Miner reward too large i=%d nValue=%d blockreward=%d\n",
nMinerOutputs, i, tx.vout[i].nValue, blockReward);
}
if(i > 0 && tx.vout[i].nValue != masternodePayment)
if(i > 0 && tx.vout[i].nValue != masternodePayment && tx.vout[i].nValue != 0)
{
return state.DoS(100, error("ConnectBlock(): mn coinbase pays too much"), REJECT_INVALID, "bad-masternode-cb-amount");

Expand Down

0 comments on commit e77b2f2

Please sign in to comment.