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 @@ -68,8 +68,8 @@ def test_reorg_relay(self):
68
68
assert_equal (self .nodes [1 ].getmempoolentry (tx_child ["txid" ])["ancestorcount" ], 2 )
69
69
assert_equal (self .nodes [1 ].getmempoolentry (tx_before_reorg ["txid" ])["ancestorcount" ], 1 )
70
70
71
- # peer1 should not have received an inv for any of the transactions during this time, as not
72
- # enough time has elapsed for those transactions to be announced. Likewise, it cannot
71
+ # peer1 should not have received an inv for any of the transactions during this time, as no
72
+ # mocktime has elapsed for those transactions to be announced. Likewise, it cannot
73
73
# request very recent, unanounced transactions.
74
74
assert_equal (len (peer1 .get_invs ()), 0 )
75
75
# It's too early to request these two transactions
@@ -92,7 +92,7 @@ def test_reorg_relay(self):
92
92
# However, the node will answer requests for the tx from the recently-disconnected block.
93
93
assert_equal (peer1 .last_message ["tx" ].tx .getwtxid (),tx_disconnected ["tx" ].getwtxid ())
94
94
95
- self .nodes [1 ].setmocktime (int (time .time ()) + 30 )
95
+ self .nodes [1 ].setmocktime (int (time .time ()) + 300 )
96
96
peer1 .sync_with_ping ()
97
97
# the transactions are now announced
98
98
assert_equal (len (peer1 .get_invs ()), 3 )
You can’t perform that action at this time.
0 commit comments