diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2017-07-20 23:10:37 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2017-08-28 15:18:14 +0200 |
commit | 2e6080bbf31d5cc2e38e8a7b436e8ce1857e589b (patch) | |
tree | 36f280b71163f7a43058be57b1cad7f39cf0d923 /test/functional/importprunedfunds.py | |
parent | 9b94054b7c60183cc38f1b9f3681c1770c043d77 (diff) | |
download | bitcoin-2e6080bbf31d5cc2e38e8a7b436e8ce1857e589b.tar.xz |
Remove unused variables and/or function calls
Diffstat (limited to 'test/functional/importprunedfunds.py')
-rwxr-xr-x | test/functional/importprunedfunds.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/importprunedfunds.py b/test/functional/importprunedfunds.py index 94753fe431..4e88fc592e 100755 --- a/test/functional/importprunedfunds.py +++ b/test/functional/importprunedfunds.py @@ -24,7 +24,6 @@ class ImportPrunedFundsTest(BitcoinTestFramework): address1 = self.nodes[0].getnewaddress() # pubkey address2 = self.nodes[0].getnewaddress() - address2_pubkey = self.nodes[0].validateaddress(address2)['pubkey'] # Using pubkey # privkey address3 = self.nodes[0].getnewaddress() address3_privkey = self.nodes[0].dumpprivkey(address3) # Using privkey @@ -77,13 +76,13 @@ class ImportPrunedFundsTest(BitcoinTestFramework): #Import with affiliated address with no rescan self.nodes[1].importaddress(address2, "add2", False) - result2 = self.nodes[1].importprunedfunds(rawtxn2, proof2) + self.nodes[1].importprunedfunds(rawtxn2, proof2) balance2 = self.nodes[1].getbalance("add2", 0, True) assert_equal(balance2, Decimal('0.05')) #Import with private key with no rescan self.nodes[1].importprivkey(address3_privkey, "add3", False) - result3 = self.nodes[1].importprunedfunds(rawtxn3, proof3) + self.nodes[1].importprunedfunds(rawtxn3, proof3) balance3 = self.nodes[1].getbalance("add3", 0, False) assert_equal(balance3, Decimal('0.025')) balance3 = self.nodes[1].getbalance("*", 0, True) |