diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-06-26 20:19:00 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-06-26 20:19:00 +0200 |
commit | 252675efc69ec0638d96a69fbc349a612cd1e2b7 (patch) | |
tree | bd7883d23e7a7818592c342fc11474cf03e9e37b | |
parent | 1922e5a6545835ac57e8a56aa4c4a251c07fe9e9 (diff) |
Do not send witnesses in cmpctblock
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 6cdd55e397..0bc90ab4a7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6538,7 +6538,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) { |