From 6852b1788456ba4400f921abdd818789aa43cf7a Mon Sep 17 00:00:00 2001 From: anarcher Date: Fri, 9 Jun 2023 02:47:17 +0900 Subject: [PATCH] chore: make fmt --- examples/gno.land/r/system/names/public.gno | 1 - examples/gno.land/r/system/names/public_test.gno | 1 - tm2/pkg/sdk/vm/keeper.go | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/gno.land/r/system/names/public.gno b/examples/gno.land/r/system/names/public.gno index ccf5c00e0dd..8c82f903fce 100644 --- a/examples/gno.land/r/system/names/public.gno +++ b/examples/gno.land/r/system/names/public.gno @@ -101,7 +101,6 @@ func renderNamespace(namespace string) string { `, namespace, renderAddresses(space.Admins), renderAddresses(space.Editors), formatBool(space.InPause)) return output - } func renderIndex() string { diff --git a/examples/gno.land/r/system/names/public_test.gno b/examples/gno.land/r/system/names/public_test.gno index 0d8de50519a..dc840024d2d 100644 --- a/examples/gno.land/r/system/names/public_test.gno +++ b/examples/gno.land/r/system/names/public_test.gno @@ -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) { diff --git a/tm2/pkg/sdk/vm/keeper.go b/tm2/pkg/sdk/vm/keeper.go index a251effd8ca..f26dafe6134 100644 --- a/tm2/pkg/sdk/vm/keeper.go +++ b/tm2/pkg/sdk/vm/keeper.go @@ -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) }