From 0a105c9608a23f2f333811e1557da04da5ce8d03 Mon Sep 17 00:00:00 2001 From: Dev Ojha Date: Fri, 29 Oct 2021 22:50:29 -0500 Subject: [PATCH] Fix lint error on main (#564) --- cmd/osmosisd/cmd/testnetify/cmd.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/osmosisd/cmd/testnetify/cmd.go b/cmd/osmosisd/cmd/testnetify/cmd.go index 66cf01a4f89..d1bec8ee0e2 100644 --- a/cmd/osmosisd/cmd/testnetify/cmd.go +++ b/cmd/osmosisd/cmd/testnetify/cmd.go @@ -62,6 +62,5 @@ func writeGenesis(genesis app.GenesisState, path string) error { } defer file.Close() encoder := json.NewEncoder(file) - encoder.Encode(genesis) - return nil + return encoder.Encode(genesis) }