aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2015-10-26 04:22:07 +0100
committerMatt Corallo <[email protected]>2015-12-01 15:52:09 -0800
commitdd5862c4cdc02535948042fe519694166bcd2bb7 (patch)
tree82bde8fe54a7a09488dd4653a6ba7efb096356cf /src/main.cpp
parentUncache input txn in utxo cache if a tx is not accepted to mempool (diff)
downloaddiscoin-dd5862c4cdc02535948042fe519694166bcd2bb7.tar.xz
discoin-dd5862c4cdc02535948042fe519694166bcd2bb7.zip
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 d1ed5c5ed..c41dd58d1 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);
}