diff options
Diffstat (limited to 'test/functional')
-rwxr-xr-x | test/functional/wallet_basic.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/wallet_basic.py b/test/functional/wallet_basic.py index 4c3fe3078b..40ad9081ae 100755 --- a/test/functional/wallet_basic.py +++ b/test/functional/wallet_basic.py @@ -499,10 +499,10 @@ class WalletTest(BitcoinTestFramework): self.nodes[0].setlabel(change, 'foobar') assert_equal(self.nodes[0].getaddressinfo(change)['ischange'], False) - # Test "verbose" field value in gettransaction response + # Test "decoded" field value in gettransaction `verbose` response. self.log.info("Testing verbose gettransaction...") tx = self.nodes[0].gettransaction(txid=txid, verbose=True) - assert_equal(tx["details"], self.nodes[0].decoderawtransaction(tx["hex"])) + assert_equal(tx["decoded"], self.nodes[0].decoderawtransaction(tx["hex"])) if __name__ == '__main__': |