aboutsummaryrefslogtreecommitdiff
path: root/src/blockencodings.cpp
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2023-11-01 22:46:17 +1000
committerAnthony Towns <aj@erisian.com.au>2023-11-16 11:14:13 +1000
commit1410d300df7e57a895f2697d9849a2201021c973 (patch)
treecf74f8da1b94c7237bca1162a903b004e2ef62a4 /src/blockencodings.cpp
parentbf574a75016123309b894da895ab1c7a81731933 (diff)
downloadbitcoin-1410d300df7e57a895f2697d9849a2201021c973.tar.xz
serialize: Drop useless version param from GetSerializeSize()
Diffstat (limited to 'src/blockencodings.cpp')
-rw-r--r--src/blockencodings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockencodings.cpp b/src/blockencodings.cpp
index 29306b2229..1e940e8f03 100644
--- a/src/blockencodings.cpp
+++ b/src/blockencodings.cpp
@@ -164,7 +164,7 @@ ReadStatus PartiallyDownloadedBlock::InitData(const CBlockHeaderAndShortTxIDs& c
break;
}
- LogPrint(BCLog::CMPCTBLOCK, "Initialized PartiallyDownloadedBlock for block %s using a cmpctblock of size %lu\n", cmpctblock.header.GetHash().ToString(), GetSerializeSize(cmpctblock, PROTOCOL_VERSION));
+ LogPrint(BCLog::CMPCTBLOCK, "Initialized PartiallyDownloadedBlock for block %s using a cmpctblock of size %lu\n", cmpctblock.header.GetHash().ToString(), GetSerializeSize(cmpctblock));
return READ_STATUS_OK;
}