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 5
5
"""Test the ZMQ notification interface."""
6
6
import struct
7
7
8
- from test_framework .address import ADDRESS_BCRT1_UNSPENDABLE
8
+ from test_framework .address import ADDRESS_BCRT1_UNSPENDABLE , ADDRESS_BCRT1_P2WSH_OP_TRUE
9
9
from test_framework .test_framework import BitcoinTestFramework
10
10
from test_framework .messages import CTransaction , hash256
11
11
from test_framework .util import assert_equal , connect_nodes
@@ -177,8 +177,8 @@ def test_reorg(self):
177
177
assert_equal (hashtx .receive ().hex (), payment_txid )
178
178
assert_equal (hashtx .receive ().hex (), disconnect_cb )
179
179
180
- # Generate 2 blocks in nodes[1]
181
- connect_blocks = self .nodes [1 ].generatetoaddress (2 , ADDRESS_BCRT1_UNSPENDABLE )
180
+ # Generate 2 blocks in nodes[1] to a different address to ensure split
181
+ connect_blocks = self .nodes [1 ].generatetoaddress (2 , ADDRESS_BCRT1_P2WSH_OP_TRUE )
182
182
183
183
# nodes[0] will reorg chain after connecting back nodes[1]
184
184
connect_nodes (self .nodes [0 ], 1 )
You can’t perform that action at this time.
0 commit comments