htlcswitch/link_test: wait for link shutdown after removal
This commit is contained in:
parent
05d1d4e845
commit
23f2d93402
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user