Skip to content
Snippets Groups Projects
Unverified Commit 3b6f27d5 authored by Silas Davis's avatar Silas Davis
Browse files

Hotfix BlockCache accumulating writes when it shouldn't


Signed-off-by: default avatarSilas Davis <silas@monax.io>
parent ba51baf1
No related branches found
No related tags found
No related merge requests found
......@@ -178,6 +178,8 @@ func (app *abciApp) Commit() abci_types.ResponseCommit {
Log: fmt.Sprintf("Could not commit block: %s", err),
}
}
// Just kill the cache - it is badly implemented
app.committer.Reset()
logging.InfoMsg(app.logger, "Resetting transaction check cache")
app.checker.Reset()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment