Skip to content

Commit b895bac

Browse files
authoredDec 18, 2024··
fix multiple storage secret (#348)
1 parent d210cd6 commit b895bac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎cmd/curio/guidedsetup/shared.go

+1
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ func SaveConfigToLayerMigrateSectors(db *harmonydb.DB, minerRepoPath, chainApiIn
238238
}
239239

240240
// Express as new toml to avoid adding StorageRPCSecret in more than 1 layer
241+
curioCfg.Apis.StorageRPCSecret = ""
241242
ct := &bytes.Buffer{}
242243
if err = toml.NewEncoder(ct).Encode(curioCfg); err != nil {
243244
return minerAddress, err

0 commit comments

Comments
 (0)
Please sign in to comment.