Revert "server: make sendToPeer async"

This reverts commit b7704e2de3dc96a4aebc2f47908a8f9def1da7f6.

The root issue was fixed by commit
f4e7c36c80e8e2be9edb78b3b317c69d28d6d78f. 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

@ -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
}