Change encryptedbucket1 to encryptednote1.
This commit is contained in:
@@ -26,14 +26,14 @@ class PourTxTest(BitcoinTestFramework):
|
|||||||
protect_tx = self.nodes[0].createrawtransaction(inputs, {})
|
protect_tx = self.nodes[0].createrawtransaction(inputs, {})
|
||||||
pour_result = self.nodes[0].zcrawjoinsplit(protect_tx, {}, {zcaddress:39.9}, 39.9, 0)
|
pour_result = self.nodes[0].zcrawjoinsplit(protect_tx, {}, {zcaddress:39.9}, 39.9, 0)
|
||||||
|
|
||||||
receive_result = self.nodes[0].zcrawreceive(zcsecretkey, pour_result["encryptedbucket1"])
|
receive_result = self.nodes[0].zcrawreceive(zcsecretkey, pour_result["encryptednote1"])
|
||||||
assert_equal(receive_result["exists"], False)
|
assert_equal(receive_result["exists"], False)
|
||||||
|
|
||||||
protect_tx = self.nodes[0].signrawtransaction(pour_result["rawtxn"])
|
protect_tx = self.nodes[0].signrawtransaction(pour_result["rawtxn"])
|
||||||
self.nodes[0].sendrawtransaction(protect_tx["hex"])
|
self.nodes[0].sendrawtransaction(protect_tx["hex"])
|
||||||
self.nodes[0].generate(1)
|
self.nodes[0].generate(1)
|
||||||
|
|
||||||
receive_result = self.nodes[0].zcrawreceive(zcsecretkey, pour_result["encryptedbucket1"])
|
receive_result = self.nodes[0].zcrawreceive(zcsecretkey, pour_result["encryptednote1"])
|
||||||
assert_equal(receive_result["exists"], True)
|
assert_equal(receive_result["exists"], True)
|
||||||
|
|
||||||
pour_tx = self.nodes[0].createrawtransaction([], {})
|
pour_tx = self.nodes[0].createrawtransaction([], {})
|
||||||
@@ -43,7 +43,7 @@ class PourTxTest(BitcoinTestFramework):
|
|||||||
self.nodes[0].generate(1)
|
self.nodes[0].generate(1)
|
||||||
|
|
||||||
print "Done!"
|
print "Done!"
|
||||||
receive_result = self.nodes[0].zcrawreceive(zcsecretkey, pour_result["encryptedbucket1"])
|
receive_result = self.nodes[0].zcrawreceive(zcsecretkey, pour_result["encryptednote1"])
|
||||||
assert_equal(receive_result["exists"], True)
|
assert_equal(receive_result["exists"], True)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ class PourTxTest(BitcoinTestFramework):
|
|||||||
self.nodes[0].generate(1)
|
self.nodes[0].generate(1)
|
||||||
self.nodes[2].sendrawtransaction(signed["hex"])
|
self.nodes[2].sendrawtransaction(signed["hex"])
|
||||||
self.nodes[2].generate(1)
|
self.nodes[2].generate(1)
|
||||||
pool[i] = pool[i]["encryptedbucket1"]
|
pool[i] = pool[i]["encryptednote1"]
|
||||||
|
|
||||||
sync_blocks(self.nodes[0:2])
|
sync_blocks(self.nodes[0:2])
|
||||||
sync_blocks(self.nodes[2:4])
|
sync_blocks(self.nodes[2:4])
|
||||||
|
|||||||
Reference in New Issue
Block a user