Flush coins cache also after transaction processing

This commit is contained in:
Pieter Wuille 2015-10-26 04:22:07 +01:00 committed by Matt Corallo
parent bde953e281
commit dd5862c4cd

View File

@ -4830,6 +4830,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
if (nDoS > 0) if (nDoS > 0)
Misbehaving(pfrom->GetId(), nDoS); Misbehaving(pfrom->GetId(), nDoS);
} }
FlushStateToDisk(state, FLUSH_STATE_PERIODIC);
} }