From c0be9860d845d4d4e949bab13920da616e57336f Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Thu, 27 Oct 2016 07:58:50 +0900 Subject: [PATCH] Restore get_tx_hash fix --- server/block_processor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/block_processor.py b/server/block_processor.py index d4e954a..ea9afd1 100644 --- a/server/block_processor.py +++ b/server/block_processor.py @@ -160,6 +160,9 @@ class DB(LoggedClass): self.utxo_cache = UTXOCache(self, self.db, self.coin) self.fs_cache = FSCache(self.coin, self.height, self.tx_count) + # Redirected member func + self.get_tx_hash = self.fs_cache.get_tx_hash + # Log state self.logger.info('{}/{} height: {:,d} tx count: {:,d} ' 'flush count: {:,d} utxo flush count: {:,d} '