connector

This commit is contained in:
4tochka 2019-05-03 16:08:26 +04:00
parent 2a970b5735
commit c80bd167a6

View File

@ -748,8 +748,8 @@ class UTXO():
async def save_utxo(self, block_height):
# save to db tail from cache
block_height -= self.maturity
if block_height > 0 and not self.save_process:
c = len(self.cached) - self._cache_size
c = len(self.cached) - self._cache_size
if block_height > 0 and not self.save_process and c > 0:
try:
self.save_process = True
k = []