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:
parent
f4e7c36c80
commit
7300452225
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user