Browse Source

Remove None from touched when backing up.

Fixes #84
master
Neil Booth 8 years ago
parent
commit
efe3ebd9ee
  1. 5
      server/block_processor.py

5
server/block_processor.py

@ -585,8 +585,9 @@ class BlockProcessor(server.db.DB):
self.logger.info('backed up to height {:,d}'.format(self.height))
# touched includes those passed into this function. That will
# generally be empty but is harmless if not.
# touched includes those passed into this function. That likely
# has additional addresses which is harmless. Remove None.
touched.discard(None)
self.backup_flush(touched)
def backup_txs(self, tx_hashes, txs, touched):

Loading…
Cancel
Save