Skip to content

Commit

Permalink
Update x/uibc/uics20/memo_handler.go
Browse files Browse the repository at this point in the history
Co-authored-by: Sai Kumar <17549398+gsk967@users.noreply.github.com>
  • Loading branch information
robert-zaremba and gsk967 authored Mar 16, 2024
1 parent 7ff4a1b commit 8d6bad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/uibc/uics20/memo_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (mh *MemoHandler) onRecvPacketPrepare(
// NOTE: we fork the store and only commit if all messages pass. Otherwise the fork store
// is discarded.
func (mh MemoHandler) execute(ctx *sdk.Context) error {
if !mh.executeEnabled && (mh.isGMP || len(mh.msgs) == 0) {
if !mh.executeEnabled && (mh.isGMP || len(mh.msgs) != 0) {
return errHooksDisabled
}

Expand Down

0 comments on commit 8d6bad9

Please sign in to comment.