We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55c3da3 commit b51dde7Copy full SHA for b51dde7
cmd/commands/walletrpc_active.go
@@ -1252,6 +1252,12 @@ var fundPsbtCommand = cli.Command{
1252
Value: defaultUtxoMinConf,
1253
},
1254
coinSelectionStrategyFlag,
1255
+ cli.Float64Flag{
1256
+ Name: "max_fee_ratio",
1257
+ Usage: "the maximum fee to total output amount ratio " +
1258
+ "that this psbt should adhere to",
1259
+ Value: chanfunding.DefaultMaxFeeRatio,
1260
+ },
1261
1262
Action: actionDecorator(fundPsbt),
1263
}
@@ -1390,6 +1396,8 @@ func fundPsbt(ctx *cli.Context) error {
1390
1396
1391
1397
1392
1398
1399
+ req.MaxFeeRatio = ctx.Float64("max_fee_ratio")
1400
+
1393
1401
walletClient, cleanUp := getWalletClient(ctx)
1394
1402
defer cleanUp()
1395
1403
0 commit comments