Skip to content

Commit

Permalink
db path
Browse files Browse the repository at this point in the history
  • Loading branch information
rauljordan committed Mar 27, 2024
1 parent 8593f5f commit aa0af74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion staker/state_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ func BoldConfigAddOptions(prefix string, f *flag.FlagSet) {
f.Uint64(prefix+".edge-tracker-wake-interval-seconds", DefaultBoldConfig.EdgeTrackerWakeIntervalSeconds, "edge act interval")
f.Bool(prefix+".api", DefaultBoldConfig.API, "enable api")
f.String(prefix+".api-host", DefaultBoldConfig.APIHost, "bold api host")
f.Uint64(prefix+".api-port", uint64(DefaultBoldConfig.APIPort), "bold api port")
f.Uint16(prefix+".api-port", DefaultBoldConfig.APIPort, "bold api port")
f.String(prefix+".api-db-path", DefaultBoldConfig.APIDBPath, "bold api db path")
}

func (c *BoldConfig) Validate() error {
Expand Down

0 comments on commit aa0af74

Please sign in to comment.