diff --git a/docs/changelog.rst b/docs/changelog.rst index 33ce806..03150a2 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -26,7 +26,7 @@ Version 1.6 (19 July 2018) * large refactoring of session and controller classes * recent blocks are now stored on disk. When backing up in a reorg ElectrumX uses these rather than asking the daemon for the blocks -- - some daemon's cannot correctly handle orphaned block requests after + some daemons cannot correctly handle orphaned block requests after a reorg. Fixes `#258`_, `#315`_, `#479`_ * minor fixes: nijel diff --git a/electrumx/server/block_processor.py b/electrumx/server/block_processor.py index ac55d23..0aa7872 100644 --- a/electrumx/server/block_processor.py +++ b/electrumx/server/block_processor.py @@ -188,10 +188,6 @@ class BlockProcessor(electrumx.server.db.DB): self.state_lock = asyncio.Lock() self.worker_task = None - def add_task(self, task): - '''Add the task to our task queue.''' - self.task_queue.put_nowait(task) - def add_new_block_callback(self, callback): '''Add a function called when a new block is found.