File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -912,14 +912,6 @@ def test_witness_tx_relay_before_segwit_activation(self):
912
912
# But eliminating the witness should fix it
913
913
self .test_node .test_transaction_acceptance (tx , with_witness = False , accepted = True )
914
914
915
- # Verify that inv's to test_node come with getdata's for non-witness tx's
916
- # Just tweak the transaction, announce it, and verify we get a getdata
917
- # for a normal tx
918
- tx .vout [0 ].scriptPubKey = CScript ([OP_TRUE , OP_TRUE ])
919
- tx .rehash ()
920
- self .test_node .announce_tx_and_wait_for_getdata (tx )
921
- assert (self .test_node .last_getdata .inv [0 ].type == 1 )
922
-
923
915
# Cleanup: mine the first transaction and update utxo
924
916
self .nodes [0 ].generate (1 )
925
917
assert_equal (len (self .nodes [0 ].getrawmempool ()), 0 )
@@ -1025,7 +1017,7 @@ def test_tx_relay_after_segwit_activation(self):
1025
1017
def test_block_relay (self , segwit_activated ):
1026
1018
print ("\t Testing block relay" )
1027
1019
1028
- blocktype = 2 | MSG_WITNESS_FLAG if segwit_activated else 2
1020
+ blocktype = 2 | MSG_WITNESS_FLAG
1029
1021
1030
1022
# test_node has set NODE_WITNESS, so all getdata requests should be for
1031
1023
# witness blocks.
You can’t perform that action at this time.
0 commit comments