Skip to content

Commit 0b414cb

Browse files
committed
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.
1 parent 40882b7 commit 0b414cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/loop/liquidity.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ var setParamsCommand = cli.Command{
232232
Usage: "the limit placed on our estimated sweep fee " +
233233
"in sat/vByte.",
234234
},
235-
cli.IntFlag{
235+
cli.Float64Flag{
236236
Name: "feepercent",
237237
Usage: "the maximum percentage of swap amount to be " +
238238
"used across all fee categories",

0 commit comments

Comments
 (0)