File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,8 @@ testScripts=(
19
19
' wallet.py'
20
20
' listtransactions.py'
21
21
' mempool_resurrect_test.py'
22
- ' txn_doublespend.py'
23
22
' txn_doublespend.py --mineblock'
24
23
' txn_clone.py'
25
- ' txn_clone.py --mineblock'
26
24
' getchaintips.py'
27
25
' rawtransactions.py'
28
26
' rest.py'
@@ -44,6 +42,8 @@ testScriptsExt=(
44
42
' bipdersig.py'
45
43
' getblocktemplate_longpoll.py'
46
44
' getblocktemplate_proposals.py'
45
+ ' txn_doublespend.py'
46
+ ' txn_clone.py --mineblock'
47
47
' pruning.py'
48
48
' forknotify.py'
49
49
' invalidateblock.py'
Original file line number Diff line number Diff line change @@ -125,6 +125,8 @@ def run_test(self):
125
125
126
126
# Reconnect the split network, and sync chain:
127
127
connect_nodes (self .nodes [1 ], 2 )
128
+ self .nodes [2 ].sendrawtransaction (fund_bar_tx ["hex" ])
129
+ self .nodes [2 ].sendrawtransaction (tx2 ["hex" ])
128
130
self .nodes [2 ].generate (1 ) # Mine another block to make sure we sync
129
131
sync_blocks (self .nodes )
130
132
@@ -136,7 +138,7 @@ def run_test(self):
136
138
# Verify expected confirmations
137
139
assert_equal (tx1 ["confirmations" ], - 1 )
138
140
assert_equal (tx1_clone ["confirmations" ], 2 )
139
- assert_equal (tx2 ["confirmations" ], 0 )
141
+ assert_equal (tx2 ["confirmations" ], 1 )
140
142
141
143
# Check node0's total balance; should be same as before the clone, + 100 BTC for 2 matured,
142
144
# less possible orphaned matured subsidy
You can’t perform that action at this time.
0 commit comments