aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.cpp
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-07-31 14:31:11 +0200
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-07-31 14:32:57 +0200
commitfa69e3a95c452c2ba3221b17c19fba5993b5d073 (patch)
tree88d8506ca957df0a025f63367b447ff4f62cd085 /src/net_processing.cpp
parent44b05bf3fef2468783dcebf651654fdd30717e7e (diff)
Remove unused MessageStartChars parameters from BlockManager methods
Diffstat (limited to 'src/net_processing.cpp')
-rw-r--r--src/net_processing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp
index be6777d14b..bbfc96492d 100644
--- a/src/net_processing.cpp
+++ b/src/net_processing.cpp
@@ -2212,7 +2212,7 @@ void PeerManagerImpl::ProcessGetBlockData(CNode& pfrom, Peer& peer, const CInv&
// Fast-path: in this case it is possible to serve the block directly from disk,
// as the network format matches the format on disk
std::vector<uint8_t> block_data;
- if (!m_chainman.m_blockman.ReadRawBlockFromDisk(block_data, pindex->GetBlockPos(), m_chainparams.MessageStart())) {
+ if (!m_chainman.m_blockman.ReadRawBlockFromDisk(block_data, pindex->GetBlockPos())) {
assert(!"cannot load block from disk");
}
m_connman.PushMessage(&pfrom, msgMaker.Make(NetMsgType::BLOCK, Span{block_data}));