aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2015-10-26 04:22:07 +0100
committerMatt Corallo <git@bluematt.me>2015-12-01 15:52:09 -0800
commitdd5862c4cdc02535948042fe519694166bcd2bb7 (patch)
tree82bde8fe54a7a09488dd4653a6ba7efb096356cf /src/main.cpp
parentbde953e2818ecf44727da128c2aa2ec7667cf7e7 (diff)
downloadbitcoin-dd5862c4cdc02535948042fe519694166bcd2bb7.tar.xz
Flush coins cache also after transaction processing
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d1ed5c5edf..c41dd58d11 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -4830,6 +4830,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
if (nDoS > 0)
Misbehaving(pfrom->GetId(), nDoS);
}
+ FlushStateToDisk(state, FLUSH_STATE_PERIODIC);
}