We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f3bb24 commit b8b3f04Copy full SHA for b8b3f04
test/functional/wallet_basic.py
@@ -499,6 +499,11 @@ def run_test(self):
499
self.nodes[0].setlabel(change, 'foobar')
500
assert_equal(self.nodes[0].getaddressinfo(change)['ischange'], False)
501
502
+ # Test "decoded" field value in gettransaction response
503
+ self.log.info("Testing gettransaction decoding...")
504
+ tx = self.nodes[0].gettransaction(txid=txid, decode=True)
505
+ assert_equal(tx["decoded"], self.nodes[0].decoderawtransaction(tx["hex"]))
506
+
507
508
if __name__ == '__main__':
509
WalletTest().main()
0 commit comments