diff --git a/server/start.go b/server/start.go index 35b2409c2648..99526af2d932 100644 --- a/server/start.go +++ b/server/start.go @@ -758,7 +758,7 @@ func testnetify(ctx *Context, testnetAppCreator types.AppCreator, db dbm.DB, tra } emptyAddrBook := []byte("{}") - if err := os.WriteFile(addrBookPath, emptyAddrBook, 0644); err != nil { + if err := os.WriteFile(addrBookPath, emptyAddrBook, 0o644); err != nil { return nil, fmt.Errorf("failed to create empty addrbook.json: %w", err) }