We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66eae10 commit 93425efCopy full SHA for 93425ef
src/lightning-manager.ts
@@ -501,21 +501,6 @@ class LightningManager {
501
//LDK events
502
503
private onRegisterTx(res: TRegisterTxEvent): void {
504
- (async (): Promise<void> => {
505
- // Set new/unconfirmed transaction.
506
- const filterRes = await Promise.all(
507
- this.watchTxs.filter((watchTx) => {
508
- if (watchTx.txid === res.txid) {
509
- return watchTx;
510
- }
511
- }),
512
- );
513
- if (filterRes.length > 0) {
514
- await ldk.setTxUnconfirmed({
515
- txId: res.txid,
516
- });
517
518
- })();
519
console.log('onRegisterTx: watchTxs', res);
520
this.watchTxs.push(res);
521
}
0 commit comments