mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-06-25 07:22:30 +00:00
Use GetConfig() to utilize the singleton (#168)
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
3beab6624b
commit
f0ae4c96ba
@ -370,7 +370,7 @@ func initAppConfig(clientCtx client.Context) (string, interface{}) {
|
|||||||
// In simapp, we set the min gas prices to 0.
|
// In simapp, we set the min gas prices to 0.
|
||||||
srvCfg.MinGasPrices = "0stake"
|
srvCfg.MinGasPrices = "0stake"
|
||||||
|
|
||||||
plmntCfg := planetmintconfig.DefaultConfig()
|
plmntCfg := planetmintconfig.GetConfig()
|
||||||
plmntCfg.SetRoot(clientCtx.HomeDir)
|
plmntCfg.SetRoot(clientCtx.HomeDir)
|
||||||
|
|
||||||
customAppConfig := CustomAppConfig{
|
customAppConfig := CustomAppConfig{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user