Update test to check for more joinsplit related fields in getrawtransaction

This commit is contained in:
Simon 2017-02-09 14:48:58 -08:00
parent 8db0dd93e4
commit 91270dcfbc
1 changed files with 4 additions and 0 deletions

View File

@ -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