main: fix feepercetn from intflags to float

Previously, the feepercent flag on autoloop was set to an IntFlag and
later converted to Float, leading to the issue where users couldn't
specify decimal rates even though we allowed it.
pull/465/head
Harsha Goli 2 years ago
parent 40882b74e4
commit 0b414cb45e
No known key found for this signature in database
GPG Key ID: 90E00CCB1C74C611

@ -232,7 +232,7 @@ var setParamsCommand = cli.Command{
Usage: "the limit placed on our estimated sweep fee " +
"in sat/vByte.",
},
cli.IntFlag{
cli.Float64Flag{
Name: "feepercent",
Usage: "the maximum percentage of swap amount to be " +
"used across all fee categories",

Loading…
Cancel
Save