Merge pull request #2902 from cfromknecht/restore-lazy-gossip-query

discovery/sync_manager: restore lazy gossip sends
This commit is contained in:
Olaoluwa Osuntokun 2019-04-06 18:05:11 -07:00 committed by GitHub
commit 1fea5b09b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -629,7 +629,7 @@ func (m *SyncManager) InitSyncState(peer lnpeer.Peer) {
encodingType: encoding,
chunkSize: encodingTypeToChunkSize[encoding],
sendToPeer: func(msgs ...lnwire.Message) error {
return peer.SendMessage(false, msgs...)
return peer.SendMessageLazy(false, msgs...)
},
})