Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Sep 3, 2024
1 parent 9dd2a3a commit ec9d00e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/opchild/keeper/deposit.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func (k Keeper) handleBridgeHook(ctx sdk.Context, sender sdk.AccAddress, data []
return
}

// use cache context from here to avoid resetting sequencer number on failure
cacheCtx, commit := ctx.CacheContext()
for _, msg := range tx.GetMsgs() {
handler := k.router.Handler(msg)
Expand Down

0 comments on commit ec9d00e

Please sign in to comment.