Permalink
Browse files

Merge #8271: [bugfix] Do not send witnesses in cmpctblock

252675e Do not send witnesses in cmpctblock (Pieter Wuille)
  • Loading branch information...
laanwj committed Jul 14, 2016
2 parents 4831a16 + 252675e commit 1bc9c8085f715944e964eb79a630d8636f293704
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main.cpp
View
@@ -6469,7 +6469,7 @@ bool SendMessages(CNode* pto)
CBlock block;
assert(ReadBlockFromDisk(block, pBestIndex, consensusParams));
CBlockHeaderAndShortTxIDs cmpctblock(block);
pto->PushMessage(NetMsgType::CMPCTBLOCK, cmpctblock);
pto->PushMessageWithFlag(SERIALIZE_TRANSACTION_NO_WITNESS, NetMsgType::CMPCTBLOCK, cmpctblock);
state.pindexBestHeaderSent = pBestIndex;
} else if (state.fPreferHeaders) {
if (vHeaders.size() > 1) {

0 comments on commit 1bc9c80

Please sign in to comment.