Fix get_tx_hash

This commit is contained in:
Neil Booth 2016-10-27 07:33:21 +09:00
parent 28eb95edd3
commit 78d0acc95b

View File

@ -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} '