electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit cd83b93e98693e63cc6d31ccab71f032ae38d461
parent f11e46e479d77b92afb488d3b58b2e9ed78de4c7
Author: Neil Booth <kyuupichan@gmail.com>
Date:   Mon, 31 Aug 2015 18:26:14 +0900

Return the result not the full dictionary

Diffstat:
Mscripts/util.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/util.py b/scripts/util.py @@ -75,6 +75,6 @@ def send_request(peers, request): for peer in interfaces: if not peer in responses: print peer, "did not answer" - results = dict(zip(responses.keys(), [t[0][1] for t in responses.values()])) + results = dict(zip(responses.keys(), [t[0][1].get('result') for t in responses.values()])) print "%d answers"%len(results) return results