qa: remove unnecessary tx removal from compact block
The error being checked here is BLOCK_MUTATED, as returned by IsBlockMutated() in FillBlock(). Dropping the fourth transaction from the block is unnecessary and would make testing of other block validation failures in following commits more verbose.
This commit is contained in:
1 parent
321984705d
commit
d6c37b28a7
1 file changed
-1
@@ -709,7 +709,6 @@ class CompactBlocksTest(BitcoinTestFramework):
|
||||
utxo = self.utxos[0]
|
||||
|
||||
block = self.build_block_with_transactions(node, utxo, 5)
|
||||
del block.vtx[3]
|
||||
block.hashMerkleRoot = block.calc_merkle_root()
|
||||
# Drop the coinbase witness but include the witness commitment.
|
||||
add_witness_commitment(block)
|
||||
|
||||
Reference in new issue
Block a user