This commit is contained in:
hatim boufnichel 2024-04-24 21:34:05 +02:00
parent fae2c82d5c
commit 9d4aa4ec47
2 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ export const OpenChannelReq = (destination: string, closeAddress: string, fundin
feeRate: 1n, // TBD
targetConf: 0,
zeroConf: false,
maxLocalCsv: 0,
maxLocalCsv: 1,
remoteCsvDelay: 144,
spendUnconfirmed: false,
minHtlcMsat: 1n,

View file

@ -33,8 +33,8 @@ export const setupNetwork = async () => {
}
const sendBalancingPayment = async (instances: LndInstances) => {
const invoice = await instances.dave.NewInvoice(5_000_000, "balancing_payment", 3600)
const payment = await instances.carol.PayInvoice(invoice.payRequest, 0, 5_000_000)
const invoice = await instances.dave.NewInvoice(50_000, "balancing_payment", 3600)
const payment = await instances.carol.PayInvoice(invoice.payRequest, 0, 50_000)
console.log({ payment })
}