htlcswitch/link_test: wait for link shutdown after removal
This commit is contained in:
1 file changed
+1
@@ -3710,6 +3710,7 @@ func (h *persistentLinkHarness) restart(restartSwitch bool,
|
||||
|
||||
// First, remove the link from the switch.
|
||||
h.coreLink.cfg.Switch.RemoveLink(h.link.ChanID())
|
||||
h.coreLink.WaitForShutdown()
|
||||
|
||||
var htlcSwitch *Switch
|
||||
if restartSwitch {
|
||||
|
||||
Reference in new issue
Block a user