diff options
author | Jon Atack <jon@atack.com> | 2021-09-29 17:50:26 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-09-29 22:35:43 +0200 |
commit | d95913fc432f0fde9dec743884b14c5df83727af (patch) | |
tree | 9e0faff1860ac4e9375355805868157a926db7af /test/functional/wallet_listsinceblock.py | |
parent | efa227f5df5f5a9669dec5f1d574cf22d3c0903f (diff) |
rpc: fix "trusted" description in TransactionDescriptionString
The helps for RPCs gettransaction, listtransactions, and
listsinceblock returned by TransactionDescriptionString()
state that the "trusted" boolean field is only present if the
transaction is trusted and safe to spend from.
The "trusted" boolean field is in fact returned by
WalletTxToJSON() when the transaction has 0 confirmations,
or negative confirmations, if conflicted, and it can be
true or false.
This commit updates TransactionDescriptionString() to a
more accurate description for "trusted" and updates the
existing line of test coverage to fail more helpfully.
Diffstat (limited to 'test/functional/wallet_listsinceblock.py')
0 files changed, 0 insertions, 0 deletions