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 7195117 commit e38b22dCopy full SHA for e38b22d
cmd/litcli/ln.go
@@ -356,13 +356,12 @@ func sendPayment(ctx *cli.Context) error {
356
"%w", err)
357
}
358
359
- // We use a constant amount of 500 to carry the asset HTLCs. In the
+ // We use a constant amount of 354 to carry the asset HTLCs. In the
360
// future, we can use the double HTLC trick here, though it consumes
361
// more commitment space.
362
- const htlcCarrierAmt = 500
363
req := &routerrpc.SendPaymentRequest{
364
Dest: destNode,
365
- Amt: htlcCarrierAmt,
+ Amt: int64(rfqmath.DefaultOnChainHtlcAmount),
366
DestCustomRecords: make(map[uint64][]byte),
367
368
0 commit comments