From fa30c5529bfc2c9b1d9b4ad4cb6d4701497ce1ac Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sun, 20 Nov 2016 22:01:44 +0900 Subject: [PATCH] Fix missing qualifier --- README.rst | 2 +- server/protocol.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index ba994c4..6b32929 100644 --- a/README.rst +++ b/README.rst @@ -84,7 +84,7 @@ I believe all of the following play a part:: - aggressive caching and batching of DB writes - more compact and efficient representation of UTXOs, address index, - and history. Electrum-Server stores full transaction hash and + and history. Electrum Server stores full transaction hash and height for each UTXO, and does the same in its pruned history. In contrast ElectrumX just stores the transaction number in the linear history of transactions. For at least another 5 years this diff --git a/server/protocol.py b/server/protocol.py index 49f85cd..94261df 100644 --- a/server/protocol.py +++ b/server/protocol.py @@ -492,7 +492,7 @@ class Session(JSONRPC): try: return await getattr(self.daemon, method)(*args) except DaemonError as e: - raise RPCError('daemon error: {}'.format(e)) + raise self.RPCError('daemon error: {}'.format(e)) def tx_hash_from_param(self, param): '''Raise an RPCError if the parameter is not a valid transaction