netsync: revert base/segwit encoding hack
This commit is contained in:
parent
78bed14956
commit
fcfb2af76f
1 changed files with 1 additions and 8 deletions
|
@ -1294,16 +1294,9 @@ func (sm *SyncManager) handleInvMsg(imsg *invMsg) {
|
||||||
break
|
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
|
state.requestQueue = requestQueue
|
||||||
if len(gdmsg.InvList) > 0 {
|
if len(gdmsg.InvList) > 0 {
|
||||||
peer.QueueMessageWithEncoding(gdmsg, nil, e)
|
peer.QueueMessage(gdmsg, nil)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue