discovery/sync_manager: restore lazy gossip sends
This commit is contained in:
parent
73791e15a1
commit
9df6af237e
@ -629,7 +629,7 @@ func (m *SyncManager) InitSyncState(peer lnpeer.Peer) {
|
|||||||
encodingType: encoding,
|
encodingType: encoding,
|
||||||
chunkSize: encodingTypeToChunkSize[encoding],
|
chunkSize: encodingTypeToChunkSize[encoding],
|
||||||
sendToPeer: func(msgs ...lnwire.Message) error {
|
sendToPeer: func(msgs ...lnwire.Message) error {
|
||||||
return peer.SendMessage(false, msgs...)
|
return peer.SendMessageLazy(false, msgs...)
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user