Skip to content

Commit

Permalink
Merge pull request #60 from binance-chain/develop
Browse files Browse the repository at this point in the history
release hotfix
  • Loading branch information
ackratos authored Jan 30, 2019
2 parents a918c20 + cd2dff5 commit 7685e98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/concurrent/async_local_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ func (app *asyncLocalClient) CommitSync() (*types.ResponseCommit, error) {
app.commitLock.Lock() // this must come before the wgCommit.Wait()
defer app.commitLock.Unlock()
app.checkTxMidLock.Unlock()
app.wgCommit.Wait() // wait for all the submitted CheckTx/DeliverTx/Query finish
app.rwLock.Lock()
defer app.rwLock.Unlock()
// only checkTxLock is locked here
Expand Down

0 comments on commit 7685e98

Please sign in to comment.