Revert "server: make sendToPeer async"

This reverts commit b7704e2de3.

The root issue was fixed by commit
f4e7c36c80. As a result, this commit is no
longer needed.
This commit is contained in:
Olaoluwa Osuntokun 2017-10-16 14:52:45 -07:00
parent f4e7c36c80
commit 7300452225
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

View File

@ -908,7 +908,7 @@ func (s *server) sendToPeer(target *btcec.PublicKey, msgs []lnwire.Message) erro
return err
}
go s.sendPeerMessages(targetPeer, msgs)
s.sendPeerMessages(targetPeer, msgs)
return nil
}