Use GetConfig() to utilize the singleton (#168)

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
Jürgen Eckel 2023-11-07 18:09:54 +01:00 committed by GitHub
parent 3beab6624b
commit f0ae4c96ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -370,7 +370,7 @@ func initAppConfig(clientCtx client.Context) (string, interface{}) {
// In simapp, we set the min gas prices to 0.
srvCfg.MinGasPrices = "0stake"
plmntCfg := planetmintconfig.DefaultConfig()
plmntCfg := planetmintconfig.GetConfig()
plmntCfg.SetRoot(clientCtx.HomeDir)
customAppConfig := CustomAppConfig{