mining fix segwit coinbase rejection #84

Merged
roylee17 merged 3 commits from roylee/mining-fix-segwit-coinbase-rejection into master 2022-08-12 19:39:26 +02:00
Showing only changes of commit 113797d1a3 - Show all commits

View file

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