diff --git a/config/config.go b/config/config.go index 7e4e69908..543adeade 100644 --- a/config/config.go +++ b/config/config.go @@ -23,7 +23,7 @@ func Init() { viper.SetDefault("storage.sqlite.db_name", "numary") viper.SetDefault("storage.postgres.conn_string", "postgresql://localhost/postgres") viper.SetDefault("server.http.bind_address", "localhost:3068") - viper.SetDefault("ledgers", []string{"quickstart"}) + viper.SetDefault("ledgers", []interface{}{"quickstart"}) viper.SetConfigName("numary") viper.SetConfigType("yaml")