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 2018-06-26 04:14:57 +02:00 committed by GitHub
commit b8fecfca71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1883,7 +1883,7 @@ func (s *Switch) removeLink(chanID lnwire.ChannelID) error {
}
}
link.Stop()
go link.Stop()
return nil
}