aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/receivedby.py
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-01-12 17:39:50 +0100
committerpracticalswift <practicalswift@users.noreply.github.com>2017-01-13 18:55:03 +0100
commitac4a0953060e34ddd8f4bd7aa28c719d8ed2c068 (patch)
tree33e09113685baac158deb2065f552d8b21241289 /qa/rpc-tests/receivedby.py
parent5754e0341b7c033d4caf99534aca47e9981bd7ed (diff)
downloadbitcoin-ac4a0953060e34ddd8f4bd7aa28c719d8ed2c068.tar.xz
Remove unused Python variables
Diffstat (limited to 'qa/rpc-tests/receivedby.py')
-rwxr-xr-xqa/rpc-tests/receivedby.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/qa/rpc-tests/receivedby.py b/qa/rpc-tests/receivedby.py
index 4f17b661cb..1b90b23330 100755
--- a/qa/rpc-tests/receivedby.py
+++ b/qa/rpc-tests/receivedby.py
@@ -14,7 +14,6 @@ def get_sub_array_from_array(object_array, to_match):
Finds and returns a sub array from an array of arrays.
to_match should be a unique idetifier of a sub array
'''
- num_matched = 0
for item in object_array:
all_match = True
for key,value in to_match.items():
@@ -104,7 +103,7 @@ class ReceivedByTest(BitcoinTestFramework):
received_by_account_json = get_sub_array_from_array(self.nodes[1].listreceivedbyaccount(),{"account":account})
if len(received_by_account_json) == 0:
raise AssertionError("No accounts found in node")
- balance_by_account = rec_by_accountArr = self.nodes[1].getreceivedbyaccount(account)
+ balance_by_account = self.nodes[1].getreceivedbyaccount(account)
txid = self.nodes[0].sendtoaddress(addr, 0.1)
self.sync_all()