From fd933ed05e249468d935a4fd9a584736f24c84e1 Mon Sep 17 00:00:00 2001 From: Sean Bowe Date: Thu, 14 Jul 2016 18:58:55 -0600 Subject: [PATCH] Fix tests --- qa/rpc-tests/zcjoinsplit.py | 2 +- qa/rpc-tests/zcjoinsplitdoublespend.py | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/qa/rpc-tests/zcjoinsplit.py b/qa/rpc-tests/zcjoinsplit.py index 938857b61..909f4edea 100755 --- a/qa/rpc-tests/zcjoinsplit.py +++ b/qa/rpc-tests/zcjoinsplit.py @@ -37,7 +37,7 @@ class PourTxTest(BitcoinTestFramework): assert_equal(receive_result["exists"], True) pour_tx = self.nodes[0].createrawtransaction([], {}) - pour_result = self.nodes[0].zcrawjoinsplit(pour_tx, {receive_result["bucket"] : zcsecretkey}, {zcaddress: 39.8}, 0, 0.1) + pour_result = self.nodes[0].zcrawjoinsplit(pour_tx, {receive_result["note"] : zcsecretkey}, {zcaddress: 39.8}, 0, 0.1) self.nodes[0].sendrawtransaction(pour_result["rawtxn"]) self.nodes[0].generate(1) diff --git a/qa/rpc-tests/zcjoinsplitdoublespend.py b/qa/rpc-tests/zcjoinsplitdoublespend.py index a498beeaa..ecb9e94e5 100755 --- a/qa/rpc-tests/zcjoinsplitdoublespend.py +++ b/qa/rpc-tests/zcjoinsplitdoublespend.py @@ -71,19 +71,19 @@ class PourTxTest(BitcoinTestFramework): # Confirm that the protects have taken place for i in range(4): - enc_bucket = pool[i] - receive_result = self.nodes[0].zcrawreceive(zcsecretkey, enc_bucket) + enc_note = pool[i] + receive_result = self.nodes[0].zcrawreceive(zcsecretkey, enc_note) assert_equal(receive_result["exists"], True) - pool[i] = receive_result["bucket"] + pool[i] = receive_result["note"] # Extra confirmations - receive_result = self.nodes[1].zcrawreceive(zcsecretkey, enc_bucket) + receive_result = self.nodes[1].zcrawreceive(zcsecretkey, enc_note) assert_equal(receive_result["exists"], True) - receive_result = self.nodes[2].zcrawreceive(zcsecretkey, enc_bucket) + receive_result = self.nodes[2].zcrawreceive(zcsecretkey, enc_note) assert_equal(receive_result["exists"], True) - receive_result = self.nodes[3].zcrawreceive(zcsecretkey, enc_bucket) + receive_result = self.nodes[3].zcrawreceive(zcsecretkey, enc_note) assert_equal(receive_result["exists"], True) blank_tx = self.nodes[0].createrawtransaction([], {})