Skip to content

Commit 1ff8ddd

Browse files
authored
fix: error message in UndefinedLimit.Accept (#2348)
1 parent 62e6a82 commit 1ff8ddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x/wasm/types/authz.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ func (u UndefinedLimit) ValidateBasic() error {
545545

546546
// Accept always returns error
547547
func (u UndefinedLimit) Accept(_ sdk.Context, _ AuthzableWasmMsg) (*ContractAuthzLimitAcceptResult, error) {
548-
return nil, sdkerrors.ErrNotFound.Wrapf("undefined filter")
548+
return nil, sdkerrors.ErrNotFound.Wrapf("undefined limit")
549549
}
550550

551551
// NewMaxCallsLimit constructor

0 commit comments

Comments
 (0)