forked from cerc-io/laconicd-deprecated
deps: Update cosmos-sdk to v0.46.1 (#1300)
* Update cosmos-sdk to 0.46.1 * update gomod2nix.toml
This commit is contained in:
@@ -157,7 +157,10 @@ func NewBackend(
|
||||
panic(err)
|
||||
}
|
||||
|
||||
appConf := config.GetConfig(ctx.Viper)
|
||||
appConf, err := config.GetConfig(ctx.Viper)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
algos, _ := clientCtx.Keyring.SupportedAlgorithms()
|
||||
if !algos.Contains(hd.EthSecp256k1) {
|
||||
|
||||
@@ -245,7 +245,11 @@ func (b *Backend) NewMnemonic(uid string, language keyring.Language, hdPath, bip
|
||||
// NOTE: this function accepts only integers to have the same interface than go-eth
|
||||
// to use float values, the gas prices must be configured using the configuration file
|
||||
func (b *Backend) SetGasPrice(gasPrice hexutil.Big) bool {
|
||||
appConf := config.GetConfig(b.clientCtx.Viper)
|
||||
appConf, err := config.GetConfig(b.clientCtx.Viper)
|
||||
if err != nil {
|
||||
b.logger.Debug("could not get the server config", "error", err.Error())
|
||||
return false
|
||||
}
|
||||
|
||||
var unit string
|
||||
minGasPrices := appConf.GetMinGasPrices()
|
||||
|
||||
Reference in New Issue
Block a user