Merge pull request #1442 from Roasbeef/async-link-stop

htlcswitch: in removeLink use new goroutine to stop existing link
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2018-06-26 04:14:57 +02:00
commit b8fecfca71
1 file changed
+1 -1
+1 -1
View File
@@ -1883,7 +1883,7 @@ func (s *Switch) removeLink(chanID lnwire.ChannelID) error {
}
}
link.Stop()
go link.Stop()
return nil
}