]> Git Repo - VerusCoin.git/commitdiff
Fix pyflakes warnings in zkey_import_export RPC test
authorJack Grigg <[email protected]>
Thu, 21 Dec 2017 18:19:42 +0000 (18:19 +0000)
committerJack Grigg <[email protected]>
Thu, 21 Dec 2017 18:19:42 +0000 (18:19 +0000)
qa/rpc-tests/zkey_import_export.py

index e9cd94253e0a73bd2d1aa5bbe95919a3c351bd53..f6d7af765d703299b3b535812081b288785444b0 100755 (executable)
@@ -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()
This page took 0.02266 seconds and 4 git commands to generate.