diff options
author | Jon Atack <jon@atack.com> | 2021-09-29 18:10:12 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-09-29 22:36:57 +0200 |
commit | 296cfa312fd9ce19f1f820aeafa37d87764ad21d (patch) | |
tree | ba8f194c9251b65616d8928248b009067c175cc0 /test/functional/wallet_listtransactions.py | |
parent | d95913fc432f0fde9dec743884b14c5df83727af (diff) |
test: add listtransactions/listsinceblock "trusted" coverage
Diffstat (limited to 'test/functional/wallet_listtransactions.py')
-rwxr-xr-x | test/functional/wallet_listtransactions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/wallet_listtransactions.py b/test/functional/wallet_listtransactions.py index a14bfe345c..9e2f08960f 100755 --- a/test/functional/wallet_listtransactions.py +++ b/test/functional/wallet_listtransactions.py @@ -31,10 +31,10 @@ class ListTransactionsTest(BitcoinTestFramework): self.sync_all() assert_array_result(self.nodes[0].listtransactions(), {"txid": txid}, - {"category": "send", "amount": Decimal("-0.1"), "confirmations": 0}) + {"category": "send", "amount": Decimal("-0.1"), "confirmations": 0, "trusted": True}) assert_array_result(self.nodes[1].listtransactions(), {"txid": txid}, - {"category": "receive", "amount": Decimal("0.1"), "confirmations": 0}) + {"category": "receive", "amount": Decimal("0.1"), "confirmations": 0, "trusted": False}) self.log.info("Test confirmations change after mining a block") blockhash = self.generate(self.nodes[0], 1)[0] blockheight = self.nodes[0].getblockheader(blockhash)['height'] |