Skip to content

Commit

Permalink
Merge pull request #2517 from myxmaster/console-log-pending-HTLCs
Browse files Browse the repository at this point in the history
Only console.log Pending HTLCs if existing
  • Loading branch information
kaloudis authored Nov 11, 2024
2 parents dd87266 + c198302 commit bdd8a1a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stores/ChannelsStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,9 @@ export default class ChannelsStore {
}
}

console.log('Pending HTLCs', this.pendingHTLCs);
if (this.pendingHTLCs.length > 0) {
console.log('Pending HTLCs', this.pendingHTLCs);
}

this.loading = false;
return channels;
Expand Down

0 comments on commit bdd8a1a

Please sign in to comment.