Restore get_tx_hash fix
This commit is contained in:
parent
c008c04e43
commit
c0be9860d8
@ -160,6 +160,9 @@ class DB(LoggedClass):
|
|||||||
self.utxo_cache = UTXOCache(self, self.db, self.coin)
|
self.utxo_cache = UTXOCache(self, self.db, self.coin)
|
||||||
self.fs_cache = FSCache(self.coin, self.height, self.tx_count)
|
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
|
# Log state
|
||||||
self.logger.info('{}/{} height: {:,d} tx count: {:,d} '
|
self.logger.info('{}/{} height: {:,d} tx count: {:,d} '
|
||||||
'flush count: {:,d} utxo flush count: {:,d} '
|
'flush count: {:,d} utxo flush count: {:,d} '
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user