Skip to content

Commit 252675e

Browse files
committed
Do not send witnesses in cmpctblock
1 parent 1922e5a commit 252675e

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
@@ -6538,7 +6538,7 @@ bool SendMessages(CNode* pto)
65386538
CBlock block;
65396539
assert(ReadBlockFromDisk(block, pBestIndex, consensusParams));
65406540
CBlockHeaderAndShortTxIDs cmpctblock(block);
6541-
pto->PushMessage(NetMsgType::CMPCTBLOCK, cmpctblock);
6541+
pto->PushMessageWithFlag(SERIALIZE_TRANSACTION_NO_WITNESS, NetMsgType::CMPCTBLOCK, cmpctblock);
65426542
state.pindexBestHeaderSent = pBestIndex;
65436543
} else if (state.fPreferHeaders) {
65446544
if (vHeaders.size() > 1) {

0 commit comments

Comments
 (0)