From aa0af74c56cfae0c8d040a38c9c294066ef6920d Mon Sep 17 00:00:00 2001 From: Raul Jordan Date: Wed, 27 Mar 2024 10:30:51 -0500 Subject: [PATCH] db path --- staker/state_provider.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/staker/state_provider.go b/staker/state_provider.go index 798364a237..b7003cc260 100644 --- a/staker/state_provider.go +++ b/staker/state_provider.go @@ -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 {