File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,10 +19,8 @@ testScripts=(
1919 ' wallet.py'
2020 ' listtransactions.py'
2121 ' mempool_resurrect_test.py'
22- ' txn_doublespend.py'
2322 ' txn_doublespend.py --mineblock'
2423 ' txn_clone.py'
25- ' txn_clone.py --mineblock'
2624 ' getchaintips.py'
2725 ' rawtransactions.py'
2826 ' rest.py'
@@ -44,6 +42,8 @@ testScriptsExt=(
4442 ' bipdersig.py'
4543 ' getblocktemplate_longpoll.py'
4644 ' getblocktemplate_proposals.py'
45+ ' txn_doublespend.py'
46+ ' txn_clone.py --mineblock'
4747 ' pruning.py'
4848 ' forknotify.py'
4949 ' invalidateblock.py'
Original file line number Diff line number Diff line change @@ -125,6 +125,8 @@ def run_test(self):
125125
126126 # Reconnect the split network, and sync chain:
127127 connect_nodes (self .nodes [1 ], 2 )
128+ self .nodes [2 ].sendrawtransaction (fund_bar_tx ["hex" ])
129+ self .nodes [2 ].sendrawtransaction (tx2 ["hex" ])
128130 self .nodes [2 ].generate (1 ) # Mine another block to make sure we sync
129131 sync_blocks (self .nodes )
130132
@@ -136,7 +138,7 @@ def run_test(self):
136138 # Verify expected confirmations
137139 assert_equal (tx1 ["confirmations" ], - 1 )
138140 assert_equal (tx1_clone ["confirmations" ], 2 )
139- assert_equal (tx2 ["confirmations" ], 0 )
141+ assert_equal (tx2 ["confirmations" ], 1 )
140142
141143 # Check node0's total balance; should be same as before the clone, + 100 BTC for 2 matured,
142144 # less possible orphaned matured subsidy
You can’t perform that action at this time.
0 commit comments