Page MenuHomePhabricator

D12468.diff
No OneTemporary

D12468.diff

diff --git a/test/functional/wallet_abandonconflict.py b/test/functional/wallet_abandonconflict.py
--- a/test/functional/wallet_abandonconflict.py
+++ b/test/functional/wallet_abandonconflict.py
@@ -160,6 +160,15 @@
assert_equal(newbalance, balance + Decimal("30000000"))
balance = newbalance
+ self.log.info("Check abandoned transactions in listsinceblock")
+ listsinceblock = self.nodes[0].listsinceblock()
+ txAB1_listsinceblock = [d for d in listsinceblock['transactions']
+ if d['txid'] == txAB1 and d['category'] == 'send']
+ for tx in txAB1_listsinceblock:
+ assert_equal(tx['abandoned'], True)
+ assert_equal(tx['confirmations'], 0)
+ assert_equal(tx['trusted'], False)
+
# Verify that even with a low min relay fee, the tx is not re-accepted
# from wallet on startup once abandoned.
self.restart_node(0, extra_args=["-minrelaytxfee=10"])

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 1, 09:46 (4 m, 8 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5187245
Default Alt Text
D12468.diff (987 B)

Event Timeline