htlcswitch/link_test: removes unnecessary WaitForShutdown
The new RemoveLink method blocks until the link has been fully stopped, so we no longer need to wait for it explicitly.
This commit is contained in:
parent
b507d265b4
commit
11f02de3b3
@ -3709,7 +3709,6 @@ 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