message: tests: Add a new functional test for gettransaction
diff: @@ -499,6 +499,11 @@ class WalletTest(BitcoinTestFramework):
  self.nodes[0].setlabel(change, 'foobar')
  assert_equal(self.nodes[0].getaddressinfo(change)['ischange'], False)
  + # Test "decoded" field value in gettransaction response
  + self.log.info("Testing gettransaction decoding...")
  + tx = self.nodes[0].gettransaction(txid=txid, decode=True)
  + assert_equal(tx["decoded"], self.nodes[0].decoderawtransaction(tx["hex"]))
  +
  if __name__ == '__main__':
  WalletTest().main()
  