Fix get_tx_hash
This commit is contained in:
parent
28eb95edd3
commit
78d0acc95b
@ -461,6 +461,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