Open bjohnson5 opened 6 days ago
So analysed this issue, and I think there is absolutely no reason we keep an open transaction as part of the session implementation. Its only used there:
and I think there is no problem in reading the db once at this point fetching all the channels for the local node and closing the read transaction.
Should be fairly easy to fix.
Discussed in https://github.com/lightningnetwork/lnd/discussions/9060