Skip to content

Commit 7e333ea

Browse files
gavinandresenjgarzik
authored andcommitted
[qa] p2p-compactblocks, p2p-segwit: update for segwit2x
1 parent f831744 commit 7e333ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

qa/rpc-tests/p2p-compactblocks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def setup_network(self):
123123

124124
# Start up node0 to be a version 1, pre-segwit node.
125125
self.nodes = start_nodes(self.num_nodes, self.options.tmpdir,
126-
[["-debug", "-logtimemicros=1", "-bip9params=segwit:0:0"],
126+
[["-debug", "-logtimemicros=1", "-bip9params=segwit:0:0", "-bip9params=segwit2x:0:0"],
127127
["-debug", "-logtimemicros", "-txindex"]])
128128
connect_nodes(self.nodes[0], 1)
129129

qa/rpc-tests/p2p-segwit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def setup_network(self):
203203
connect_nodes(self.nodes[0], 1)
204204

205205
# Disable segwit's bip9 parameter to simulate upgrading after activation.
206-
self.nodes.append(start_node(2, self.options.tmpdir, ["-debug", "-whitelist=127.0.0.1", "-bip9params=segwit:0:0"]))
206+
self.nodes.append(start_node(2, self.options.tmpdir, ["-debug", "-whitelist=127.0.0.1", "-bip9params=segwit:0:0", "-bip9params=segwit2x:0:0"]))
207207
connect_nodes(self.nodes[0], 2)
208208

209209
''' Helpers '''

0 commit comments

Comments
 (0)