Skip to content

Commit e38b22d

Browse files
committed
cmd/litcli: change keysend HTLC carrier amount to 354 sats
1 parent 7195117 commit e38b22d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cmd/litcli/ln.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,13 +356,12 @@ func sendPayment(ctx *cli.Context) error {
356356
"%w", err)
357357
}
358358

359-
// We use a constant amount of 500 to carry the asset HTLCs. In the
359+
// We use a constant amount of 354 to carry the asset HTLCs. In the
360360
// future, we can use the double HTLC trick here, though it consumes
361361
// more commitment space.
362-
const htlcCarrierAmt = 500
363362
req := &routerrpc.SendPaymentRequest{
364363
Dest: destNode,
365-
Amt: htlcCarrierAmt,
364+
Amt: int64(rfqmath.DefaultOnChainHtlcAmount),
366365
DestCustomRecords: make(map[uint64][]byte),
367366
}
368367

0 commit comments

Comments
 (0)