Browse Source

Update test to check for more joinsplit related fields in getrawtransaction

pull/4/head
Simon 7 years ago
parent
commit
91270dcfbc
  1. 4
      qa/rpc-tests/wallet.py

4
qa/rpc-tests/wallet.py

@ -343,6 +343,10 @@ class WalletTest (BitcoinTestFramework):
myjoinsplit = self.nodes[2].getrawtransaction(mytxid, 1)["vjoinsplit"][0]
assert_equal(myjoinsplit["vpub_old"], zsendmanynotevalue)
assert_equal(myjoinsplit["vpub_new"], 0)
assert("onetimePubKey" in myjoinsplit.keys())
assert("randomSeed" in myjoinsplit.keys())
assert("ciphertexts" in myjoinsplit.keys())
# send from private note to node 0 and node 2
node0balance = self.nodes[0].getbalance() # 25.99794745

Loading…
Cancel
Save