Skip to content

Commit

Permalink
fix multiple storage secret (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
LexLuthr authored Dec 18, 2024
1 parent d210cd6 commit b895bac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/curio/guidedsetup/shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ func SaveConfigToLayerMigrateSectors(db *harmonydb.DB, minerRepoPath, chainApiIn
}

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

0 comments on commit b895bac

Please sign in to comment.