File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,14 @@ def run_test(self):
120
120
assert_equal (newbalance , balance + Decimal ("30" ))
121
121
balance = newbalance
122
122
123
+ self .log .info ("Check abandoned transactions in listsinceblock" )
124
+ listsinceblock = self .nodes [0 ].listsinceblock ()
125
+ txAB1_listsinceblock = [d for d in listsinceblock ['transactions' ] if d ['txid' ] == txAB1 and d ['category' ] == 'send' ]
126
+ for tx in txAB1_listsinceblock :
127
+ assert_equal (tx ['abandoned' ], True )
128
+ assert_equal (tx ['confirmations' ], 0 )
129
+ assert_equal (tx ['trusted' ], False )
130
+
123
131
# Verify that even with a low min relay fee, the tx is not reaccepted from wallet on startup once abandoned
124
132
self .restart_node (0 , extra_args = ["-minrelaytxfee=0.00001" ])
125
133
assert self .nodes [0 ].getmempoolinfo ()['loaded' ]
You can’t perform that action at this time.
0 commit comments