Skip to content

Commit

Permalink
Update test to check for more joinsplit related fields in getrawtrans…
Browse files Browse the repository at this point in the history
…action
  • Loading branch information
bitcartel committed Feb 9, 2017
1 parent 8db0dd9 commit 91270dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions qa/rpc-tests/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,10 @@ def run_test (self):
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
Expand Down

0 comments on commit 91270dc

Please sign in to comment.