vector icon indicating copy to clipboard operation
vector copied to clipboard

[browser-node] Improve `saveChannelAndTransferStates`

Open LayneHaber opened this issue 4 years ago • 0 comments

Right now the saveChannelStateAndTransfers method logic is inefficient. We are also deleting data of transfers that are no longer active. The method should be improved to (1) not delete then re-add duplicate transfers and (2) not delete transfers that are no longer active (this will be a problem for people like hypernet)

LayneHaber avatar Mar 08 '21 18:03 LayneHaber