From 78d0acc95b945a2f2ed453f9647e935454126a70 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Thu, 27 Oct 2016 07:33:21 +0900 Subject: [PATCH] Fix get_tx_hash --- server/db.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/db.py b/server/db.py index 17b0f98..26f044a 100644 --- a/server/db.py +++ b/server/db.py @@ -461,6 +461,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} '