From 14f4228af77046be603b1de03e39ec0139b55709 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Tue, 11 Oct 2016 00:11:10 +0900 Subject: [PATCH] Add missing line --- server/db.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server/db.py b/server/db.py index 4135a7a..2e4f619 100644 --- a/server/db.py +++ b/server/db.py @@ -507,6 +507,7 @@ class DB(object): self.process_tx(tx_hash, tx) # Flush if we're getting full + hist_MB = self.history_size * 4 // 1048576 if self.utxo_cache.size_MB() + hist_MB > self.flush_MB: self.flush()