mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
Merge 0ac19a98f3
into c5e44a0435
This commit is contained in:
commit
954120abbd
1 changed files with 1 additions and 0 deletions
|
@ -4097,6 +4097,7 @@ bool CheckBlock(const CBlock& block, BlockValidationState& state, const Consensu
|
|||
strprintf("Transaction check failed (tx hash %s) %s", tx->GetHash().ToString(), tx_state.GetDebugMessage()));
|
||||
}
|
||||
}
|
||||
// This underestimates the number of sigops, because unlike ConnectBlock it does not count the witness:
|
||||
unsigned int nSigOps = 0;
|
||||
for (const auto& tx : block.vtx)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue