File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ def wrapper(self):
66
66
67
67
class PeerTxRelayer (P2PTxInvStore ):
68
68
"""A P2PTxInvStore that also remembers all of the getdata and tx messages it receives."""
69
- def __init__ (self ):
70
- super ().__init__ ()
69
+ def __init__ (self , wtxidrelay = True ):
70
+ super ().__init__ (wtxidrelay = wtxidrelay )
71
71
self ._tx_received = []
72
72
self ._getdata_received = []
73
73
@@ -402,7 +402,7 @@ def test_orphan_inherit_rejection(self):
402
402
node = self .nodes [0 ]
403
403
peer1 = node .add_p2p_connection (PeerTxRelayer ())
404
404
peer2 = node .add_p2p_connection (PeerTxRelayer ())
405
- peer3 = node .add_p2p_connection (PeerTxRelayer ())
405
+ peer3 = node .add_p2p_connection (PeerTxRelayer (wtxidrelay = False ))
406
406
407
407
self .log .info ("Test that an orphan with rejected parents, along with any descendants, cannot be retried with an alternate witness" )
408
408
parent_low_fee_nonsegwit = self .wallet_nonsegwit .create_self_transfer (fee_rate = 0 )
You can’t perform that action at this time.
0 commit comments