sync improvements, bug fixes, config changes

This commit is contained in:
Kevin Froman 2018-08-23 13:24:32 -05:00
parent 638436ee10
commit 1faae80aaf
3 changed files with 4 additions and 2 deletions

View file

@ -66,7 +66,7 @@ class DaemonTools:
def cleanOldBlocks(self):
'''Delete old blocks if our disk allocation is full/near full'''
while self.daemon._core._utils.storageCounter.isFull():
oldest = self.daemon._core.getBlockList[0]
oldest = self.daemon._core.getBlockList()[0]
self.daemon._core._blacklist.addToDB(oldest)
self.daemon._core.removeBlock(oldest)
logger.info('Deleted block: %s' % (oldest,))