Skip to content

Commit

Permalink
Update app/ante.go
Browse files Browse the repository at this point in the history
Signed-off-by: yihuang <[email protected]>
  • Loading branch information
yihuang authored Dec 5, 2023
1 parent 04da991 commit 7c85b44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ func NewValidateMsgTransferDecorator() ValidateMsgTransferDecorator {
}

func (vtd ValidateMsgTransferDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error) {
// avoid breaking consensus

Check failure on line 74 in app/ante.go

View workflow job for this annotation

GitHub Actions / golangci-lint

File is not `gofmt`-ed with `-s` (gofmt)
if !ctx.IsCheckTx() {
return next(ctx, tx, simulate)
}
Expand Down

0 comments on commit 7c85b44

Please sign in to comment.