Skip to content

Commit

Permalink
fix: posthandler typo (babylonchain#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianElvis authored Jan 13, 2024
1 parent 55fd476 commit e11915a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/zoneconcierge/keeper/ibc_header_decorator.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (d *IBCHeaderDecorator) getHeaderAndClientState(ctx sdk.Context, m sdk.Msg)
func (d *IBCHeaderDecorator) PostHandle(ctx sdk.Context, tx sdk.Tx, simulate, success bool, next sdk.PostHandler) (sdk.Context, error) {
// only do this when finalizing a block or simulating the current tx
if ctx.ExecMode() != sdk.ExecModeFinalize && !simulate {
return next(ctx, tx, success, simulate)
return next(ctx, tx, simulate, success)
}
// ignore unsuccessful tx
// NOTE: tx with a misbehaving header will still succeed, but will make the client to be frozen
Expand Down

0 comments on commit e11915a

Please sign in to comment.