mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-01-19 14:43:57 +01:00
Remove canceled DLCs from table (#3349)
This commit is contained in:
parent
53cafa7898
commit
81fe7d76ee
@ -81,6 +81,8 @@ class DLCPaneModel(pane: DLCPane)(implicit ec: ExecutionContext)
|
||||
def updateDLCs(): Unit = {
|
||||
getDLCs.map { dlcs =>
|
||||
dlcs.foreach(updateDLCInList)
|
||||
val toRemove = GlobalDLCData.dlcs.diff(dlcs)
|
||||
GlobalDLCData.dlcs --= toRemove
|
||||
pane.sortTable()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user