Skip to content

Commit

Permalink
[STAB-17] Fix unsync local client to invoke callback
Browse files Browse the repository at this point in the history
This was missed in dydxprotocol/cometbft@4a837dd and caused the chain to fail to initialize.
  • Loading branch information
lcwik authored and roy-dydx committed Jul 11, 2023
1 parent bddd7c5 commit 746316d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions abci/client/unsync_local_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ func (app *unsyncLocalClient) ProcessProposalSync(req types.RequestProcessPropos
func (app *unsyncLocalClient) callback(req *types.Request, res *types.Response) *ReqRes {
app.mtx.RLock()
defer app.mtx.RUnlock()
app.Callback(req, res)
rr := newLocalReqRes(req, res)
rr.callbackInvoked = true
return rr
Expand Down

0 comments on commit 746316d

Please sign in to comment.