diff --git a/netsync/manager.go b/netsync/manager.go index 351fb7cd..169cec8f 100644 --- a/netsync/manager.go +++ b/netsync/manager.go @@ -1294,16 +1294,9 @@ func (sm *SyncManager) handleInvMsg(imsg *invMsg) { break } } - - e := wire.BaseEncoding - // we think that the iv.Type set above is sufficient. If not: - // if peer.IsWitnessEnabled() { - // e = wire.WitnessEncoding - //} - state.requestQueue = requestQueue if len(gdmsg.InvList) > 0 { - peer.QueueMessageWithEncoding(gdmsg, nil, e) + peer.QueueMessage(gdmsg, nil) } }