Skip to content

Commit

Permalink
Fix p2p_segwit.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil committed Oct 28, 2024
1 parent 6e8bb94 commit 033dca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/p2p_segwit.py
Original file line number Diff line number Diff line change
Expand Up @@ -2027,7 +2027,7 @@ class msg_bogus_tx(msg_tx):
def serialize(self):
return serialize_with_bogus_witness(self.tx)

self.wallet.generate(1)
self.wallet.generate(2100)
tx = self.wallet.create_self_transfer()['tx']
assert_raises_rpc_error(-22, "TX decode failed", self.nodes[0].decoderawtransaction, hexstring=serialize_with_bogus_witness(tx).hex(), iswitness=True)
with self.nodes[0].assert_debug_log(['Unknown transaction optional data']):
Expand Down

0 comments on commit 033dca3

Please sign in to comment.