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 153a55b commit 4be9737Copy full SHA for 4be9737
cmd/litcli/ln.go
@@ -361,13 +361,12 @@ func sendPayment(ctx *cli.Context) error {
361
"%w", err)
362
}
363
364
- // We use a constant amount of 500 to carry the asset HTLCs. In the
365
- // future, we can use the double HTLC trick here, though it consumes
366
- // more commitment space.
367
- const htlcCarrierAmt = 500
+ // Use the smallest possible non-dust HTLC amount to carry the asset
+ // HTLCs. In the future, we can use the double HTLC trick here, though
+ // it consumes more commitment space.
368
req := &routerrpc.SendPaymentRequest{
369
Dest: destNode,
370
- Amt: htlcCarrierAmt,
+ Amt: int64(rfqmath.DefaultOnChainHtlcSat),
371
DestCustomRecords: make(map[uint64][]byte),
372
373
0 commit comments