mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-04 17:11:19 +00:00
flush before commit
This commit is contained in:
parent
5296507665
commit
39344a601d
@ -1258,6 +1258,9 @@ func (cs *ConsensusState) commitStateUpdateMempool(s *sm.State, block *types.Blo
|
|||||||
cs.mempool.Lock()
|
cs.mempool.Lock()
|
||||||
defer cs.mempool.Unlock()
|
defer cs.mempool.Unlock()
|
||||||
|
|
||||||
|
// flush out any CheckTx that have already started
|
||||||
|
cs.proxyAppConn.FlushSync()
|
||||||
|
|
||||||
// Commit block, get hash back
|
// Commit block, get hash back
|
||||||
res := cs.proxyAppConn.CommitSync()
|
res := cs.proxyAppConn.CommitSync()
|
||||||
if res.IsErr() {
|
if res.IsErr() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user