mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2024-11-19 18:02:54 +01:00
Only update DLC we are viewing (#3211)
This commit is contained in:
parent
deb0862e07
commit
549d840d02
@ -174,7 +174,7 @@ class DLCPaneModel(resultArea: TextArea) extends Logging {
|
||||
}
|
||||
|
||||
def viewDLC(status: DLCStatus): Unit = {
|
||||
updateDLCs()
|
||||
updateDLC(status.dlcId)
|
||||
val updatedStatus = dlcs.find(_.tempContractId == status.tempContractId)
|
||||
ViewDLCDialog.showAndWait(parentWindow.value,
|
||||
updatedStatus.getOrElse(status),
|
||||
|
Loading…
Reference in New Issue
Block a user