Skip to content

Commit

Permalink
Fix lint error on main (#564)
Browse files Browse the repository at this point in the history
  • Loading branch information
ValarDragon authored Oct 30, 2021
1 parent 954bb5c commit 0a105c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/osmosisd/cmd/testnetify/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 0a105c9

Please sign in to comment.