Skip to content

Commit

Permalink
fix: watch outputs index check
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasonvdb committed Jan 4, 2024
1 parent a300096 commit f73ee16
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/src/lightning-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,10 @@ class LightningManager {
return;
}

if (!transactionData?.vout[index]) {
return;
}

const txs = await this.getScriptPubKeyHistory(
transactionData?.vout[index].hex,
);
Expand Down

0 comments on commit f73ee16

Please sign in to comment.