Skip to content

Commit 1bc9c80

Browse files
committed
Merge #8271: [bugfix] Do not send witnesses in cmpctblock
252675e Do not send witnesses in cmpctblock (Pieter Wuille)
2 parents 4831a16 + 252675e commit 1bc9c80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6469,7 +6469,7 @@ bool SendMessages(CNode* pto)
64696469
CBlock block;
64706470
assert(ReadBlockFromDisk(block, pBestIndex, consensusParams));
64716471
CBlockHeaderAndShortTxIDs cmpctblock(block);
6472-
pto->PushMessage(NetMsgType::CMPCTBLOCK, cmpctblock);
6472+
pto->PushMessageWithFlag(SERIALIZE_TRANSACTION_NO_WITNESS, NetMsgType::CMPCTBLOCK, cmpctblock);
64736473
state.pindexBestHeaderSent = pBestIndex;
64746474
} else if (state.fPreferHeaders) {
64756475
if (vHeaders.size() > 1) {

0 commit comments

Comments
 (0)