Skip to content

Commit

Permalink
chore: make fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
anarcher committed Jul 21, 2023
1 parent d66c615 commit 6852b17
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion examples/gno.land/r/system/names/public.gno
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ func renderNamespace(namespace string) string {
`, namespace, renderAddresses(space.Admins), renderAddresses(space.Editors), formatBool(space.InPause))
return output

}

func renderIndex() string {
Expand Down
1 change: 0 additions & 1 deletion examples/gno.land/r/system/names/public_test.gno
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ func TestSpaceMethods(t *testing.T) {

s.addAdmin(test1)
assertTrue(t, s.removeAdmin(test1) == nil)

}

func assertTrue(t *testing.T, b bool) {
Expand Down
2 changes: 1 addition & 1 deletion tm2/pkg/sdk/vm/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (vm *VMKeeper) checkNamespacePerm(ctx sdk.Context, creator crypto.Address,
if err != nil {
return err
}
//TODO: needs fixed representation of bool
// TODO: needs fixed representation of bool
if res != "(true bool)" {
return fmt.Errorf("namespace %q not allowed", namespace)
}
Expand Down

0 comments on commit 6852b17

Please sign in to comment.