This commit is contained in:
Neil Booth 2017-02-26 13:18:06 +09:00
parent a2c5ecf0a0
commit b3005fbb3e

View File

@ -275,7 +275,7 @@ class ElectrumX(SessionBase):
msg = ('chunk indices not advancing (wrong network?): {}' msg = ('chunk indices not advancing (wrong network?): {}'
.format(self.chunk_indices)) .format(self.chunk_indices))
# INVALID_REQUEST triggers a disconnect # INVALID_REQUEST triggers a disconnect
raise RPCError(mrg, JSONRPC.INVALID_REQUEST) raise RPCError(msg, JSONRPC.INVALID_REQUEST)
return self.controller.get_chunk(index) return self.controller.get_chunk(index)
def is_tor(self): def is_tor(self):