mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
fix: uint64(65535)
This commit is contained in:
parent
5a40e5b1c9
commit
ccc963b1bd
1 changed files with 1 additions and 1 deletions
|
|
@ -2327,7 +2327,7 @@ func (ls *LDKService) MakeHoldInvoice(ctx context.Context, amount int64, descrip
|
|||
|
||||
var invoiceObj *ldk_node.Bolt11Invoice
|
||||
if minCltvExpiryDelta != nil {
|
||||
if *minCltvExpiryDelta > uint64(65535)) {
|
||||
if *minCltvExpiryDelta > uint64(65535) {
|
||||
return nil, errors.New("min_cltv_expiry_delta must be <= 65535")
|
||||
}
|
||||
invoiceObj, err = ls.node.Bolt11Payment().ReceiveForHashWithMinCltvExpiryDelta(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue