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

View File

@@ -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...)
},
})