Skip to content

Commit

Permalink
Merge pull request #1823 from stackernews/update-forward-limits
Browse files Browse the repository at this point in the history
Update forward limits
  • Loading branch information
huumn authored Jan 18, 2025
2 parents d9932e0 + 630af6b commit a895a91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wallets/wrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { createHodlInvoice, parsePaymentRequest } from 'ln-service'
import { estimateRouteFee, getBlockHeight } from '../api/lnd'
import { toBigInt, toPositiveBigInt, toPositiveNumber } from '@/lib/format'

const MIN_OUTGOING_MSATS = BigInt(900) // the minimum msats we'll allow for the outgoing invoice
const MAX_OUTGOING_MSATS = BigInt(900_000_000) // the maximum msats we'll allow for the outgoing invoice
const MIN_OUTGOING_MSATS = BigInt(700) // the minimum msats we'll allow for the outgoing invoice
const MAX_OUTGOING_MSATS = BigInt(700_000_000) // the maximum msats we'll allow for the outgoing invoice
const MAX_EXPIRATION_INCOMING_MSECS = 900_000 // the maximum expiration time we'll allow for the incoming invoice
const INCOMING_EXPIRATION_BUFFER_MSECS = 300_000 // the buffer enforce for the incoming invoice expiration
const MAX_OUTGOING_CLTV_DELTA = 1000 // the maximum cltv delta we'll allow for the outgoing invoice
Expand Down

0 comments on commit a895a91

Please sign in to comment.