Improve error message when a block would overfill the Orchard commitment tree.

Co-authored-by: str4d <jack@electriccoin.co>
This commit is contained in:
Daira Hopwood 2021-07-29 14:17:35 +01:00 committed by GitHub
parent dcbbf43d8b
commit ec4e9ae509
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3240,7 +3240,7 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
if (!orchard_tree.AppendBundle(tx.GetOrchardBundle())) {
return state.DoS(100,
error("ConnectBlock(): the Orchard commitment tree is full."),
error("ConnectBlock(): block would overfill the Orchard commitment tree."),
REJECT_INVALID, "orchard-commitment-tree-full");
};