up
This commit is contained in:
parent
f0bae3c0c0
commit
eb5f95ec8f
1 changed files with 1 additions and 1 deletions
|
|
@ -308,7 +308,7 @@ export class VoltageLSP extends LSP {
|
|||
|
||||
const invoice = await this.lnd.NewInvoice(this.settings.channelThreshold, "open channel", 60 * 60)
|
||||
const res = await this.proposal(invoice.payRequest, fee.id)
|
||||
this.log("proposal res", res)
|
||||
this.log("proposal res", res, fee.id)
|
||||
const decoded = await this.lnd.DecodeInvoice(res.jit_bolt11)
|
||||
if (decoded.numSatoshis !== this.settings.channelThreshold + feeSats) {
|
||||
this.log("invoice of amount", decoded.numSatoshis, "does not match expected amount of", this.settings.channelThreshold + feeSats)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue