mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 01:36:24 +01:00
discovery/sync_manager: restore lazy gossip sends
This commit is contained in:
parent
73791e15a1
commit
9df6af237e
1 changed files with 1 additions and 1 deletions
|
@ -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...)
|
||||
},
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue