Skip to content

Commit

Permalink
Merge pull request #198 from synonymdev/watch-outputs-fix
Browse files Browse the repository at this point in the history
fix: watch outputs index check
  • Loading branch information
Jasonvdb authored Jan 4, 2024
2 parents a300096 + f73ee16 commit 529c1f2
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 529c1f2

Please sign in to comment.