@@ -86,7 +86,7 @@ def __init__(self):
86
86
def setup_network (self ):
87
87
self .nodes = []
88
88
self .nodes .append (start_node (0 , self .options .tmpdir , ["-logtimemicros" , "-debug" , "-walletprematurewitness" , "-rpcserialversion=0" ]))
89
- self .nodes .append (start_node (1 , self .options .tmpdir , ["-logtimemicros" , "-debug" , "-blockversion=4" , "-promiscuousmempoolflags=517" , "-prematurewitness" , "-walletprematurewitness" , "-rpcserialversion=2 " ]))
89
+ self .nodes .append (start_node (1 , self .options .tmpdir , ["-logtimemicros" , "-debug" , "-blockversion=4" , "-promiscuousmempoolflags=517" , "-prematurewitness" , "-walletprematurewitness" , "-rpcserialversion=1 " ]))
90
90
self .nodes .append (start_node (2 , self .options .tmpdir , ["-logtimemicros" , "-debug" , "-blockversion=536870915" , "-promiscuousmempoolflags=517" , "-prematurewitness" , "-walletprematurewitness" ]))
91
91
connect_nodes (self .nodes [1 ], 0 )
92
92
connect_nodes (self .nodes [2 ], 1 )
@@ -216,7 +216,6 @@ def run_test(self):
216
216
assert_equal (len (segwit_tx_list ), 5 )
217
217
218
218
print ("Verify block and transaction serialization rpcs return differing serializations depending on rpc serialization flag" )
219
- # Note: node1 has version 2, which is simply >0 and will catch future upgrades in tests
220
219
assert (self .nodes [2 ].getblock (block [0 ], False ) != self .nodes [0 ].getblock (block [0 ], False ))
221
220
assert (self .nodes [1 ].getblock (block [0 ], False ) == self .nodes [2 ].getblock (block [0 ], False ))
222
221
for i in range (len (segwit_tx_list )):
0 commit comments