Browse Source

Fix pyflakes warnings in zkey_import_export RPC test

pull/4/head
Jack Grigg 7 years ago
parent
commit
5d9cf8ae23
No known key found for this signature in database GPG Key ID: 665DBCD284F7DAFF
  1. 7
      qa/rpc-tests/zkey_import_export.py

7
qa/rpc-tests/zkey_import_export.py

@ -65,7 +65,7 @@ class ZkeyImportExportTest (BitcoinTestFramework):
def z_send(from_node, from_addr, to_addr, amount):
opid = from_node.z_sendmany(from_addr, [{"address": to_addr, "amount": Decimal(amount)}])
txid = self.wait_and_assert_operationid_status(from_node, opid)
self.wait_and_assert_operationid_status(from_node, opid)
self.sync_all()
miner.generate(1)
self.sync_all()
@ -112,12 +112,9 @@ class ZkeyImportExportTest (BitcoinTestFramework):
# Shield Alice's coinbase funds to her zaddr
alice_zaddr = alice.z_getnewaddress()
res = alice.z_shieldcoinbase("*", alice_zaddr)
txid = self.wait_and_assert_operationid_status(alice, res['opid'])
self.wait_and_assert_operationid_status(alice, res['opid'])
miner.generate(6)
self.sync_all()
# List funds
funds = alice.z_listreceivedbyaddress(alice_zaddr)
# print("Alice's funds after shield", funds)
# Now get a pristine z-address for receiving transfers:
bob_zaddr = bob.z_getnewaddress()

Loading…
Cancel
Save