From: Bryan Stitt Date: Mon, 14 Jan 2013 04:48:16 +0000 (-0800) Subject: Fix accidental change X-Git-Url: https://git.novaco.in/?p=electrum-server.git;a=commitdiff_plain;h=85b7df1d601ee42360473f5930593c1faad36e29 Fix accidental change When I was moving things around with pep8, I moved this push_response out of the if/elif, but it shouldn't have been moved. --- diff --git a/backends/bitcoind/blockchain_processor.py b/backends/bitcoind/blockchain_processor.py index cb64178..865d72a 100644 --- a/backends/bitcoind/blockchain_processor.py +++ b/backends/bitcoind/blockchain_processor.py @@ -627,10 +627,9 @@ class BlockchainProcessor(Processor): return -1 if error: - response = {'id': message_id, 'error': error} + self.push_response({'id': message_id, 'error': error}) elif result != '': - response = {'id': message_id, 'result': result} - self.push_response(response) + self.push_response({'id': message_id, 'result': result}) def watch_address(self, addr): if addr not in self.watched_addresses: