build: fix compilation warnings

This commit is contained in:
Byron Hambly 2023-09-01 16:39:08 +02:00
parent c2c7d08de6
commit 3911e7e2b3
No known key found for this signature in database
GPG key ID: DE8F6EA20A661697
4 changed files with 5 additions and 7 deletions

View file

@ -873,7 +873,6 @@ void CTxMemPool::check(const CBlockIndex* active_chain_tip, const CCoinsViewCach
assert(it->GetSizeWithDescendants() >= child_sizes + it->GetTxSize());
TxValidationState dummy_state; // Not used. CheckTxInputs() should always pass
CAmount txfee = 0;
assert(!tx.IsCoinBase());
// ELEMENTS