diff --git a/cmd/config/config.go b/cmd/config/config.go index 531aeae4..1b1035b2 100644 --- a/cmd/config/config.go +++ b/cmd/config/config.go @@ -13,7 +13,7 @@ import ( const ( MainDenom = "dfi" - DefaultFee = "1" + MainDenom + DefaultFee = "100000000000000" + MainDenom MainPrefix = "wallet" // Main prefix for all addresses. Bech32PrefixAccAddr = MainPrefix // Bech32 prefix for account addresses. Bech32PrefixAccPub = MainPrefix + sdk.PrefixPublic // Bech32 prefix for accounts pub keys. diff --git a/cmd/dncli/main.go b/cmd/dncli/main.go index 48b640cc..2febb408 100644 --- a/cmd/dncli/main.go +++ b/cmd/dncli/main.go @@ -119,7 +119,6 @@ func queryCmd(cdc *amino.Codec) *cobra.Command { func SetDefaultFeeForTxCmd(cmd *cobra.Command) { if feesFlag := cmd.Flag(flags.FlagFees); feesFlag != nil { feesFlag.DefValue = dnConfig.DefaultFee - feesFlag.NoOptDefVal = dnConfig.DefaultFee feesFlag.Usage = "Fees to pay along with transaction; eg: " + dnConfig.DefaultFee if feesFlag.Value.String() == "" {