Skip to content

Commit

Permalink
chore: check enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
anarcher committed Jun 7, 2023
1 parent f1155e2 commit 440a455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/gno.land/r/system/names/public.gno
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func SetInPause(namespace string, state bool) {
// The vm keeper will use this function to check to add package
func HasPerm(namespace string) bool {
// if enabled is false, it always returns true for dev and testing.
if enabled == false {
if !enabled {
return true
}
caller := std.GetOrigCaller()
Expand Down

0 comments on commit 440a455

Please sign in to comment.