Skip to content

Commit 987e98c

Browse files
committed
update error message on coinbase amount failure
1 parent 0c3bdee commit 987e98c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3296,7 +3296,7 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
32963296
return state.DoS(100, error("ConnectBlock(): total block reward overflowed"), REJECT_INVALID, "bad-blockreward-outofrange");
32973297
if (!VerifyCoinbaseAmount(block.vtx[0], blockReward))
32983298
return state.DoS(100,
3299-
error("ConnectBlock(): coinbase pays too much (limit=%d)",
3299+
error("ConnectBlock(): coinbase pays too much, has fee or blinded outputs (limit=%d)",
33003300
blockReward[policyAsset]),
33013301
REJECT_INVALID, "bad-cb-amount");
33023302

0 commit comments

Comments
 (0)