aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2016-12-04 00:23:17 -0800
committerMatt Corallo <git@bluematt.me>2016-12-04 00:23:17 -0800
commita13fa4c80f792ffba8a77737754506aa849929af (patch)
tree48ed3e70b0770472932cb6ae8cb532fd9c1d8bfc /src/net_processing.cpp
parentdd0df81ebdbf705f7ad386c7229bf1bbc3125f62 (diff)
downloadbitcoin-a13fa4c80f792ffba8a77737754506aa849929af.tar.xz
Remove unused CDiskBlockPos* argument from ProcessNewBlock
Diffstat (limited to 'src/net_processing.cpp')
-rw-r--r--src/net_processing.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp
index e81332d618..5a7f6aa750 100644
--- a/src/net_processing.cpp
+++ b/src/net_processing.cpp
@@ -1951,7 +1951,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
bool fNewBlock = false;
// Since we requested this block (it was in mapBlocksInFlight), force it to be processed,
// even if it would not be a candidate for new tip (missing previous block, chain not long enough, etc)
- ProcessNewBlock(chainparams, pblock, true, NULL, &fNewBlock);
+ ProcessNewBlock(chainparams, pblock, true, &fNewBlock);
if (fNewBlock)
pfrom->nLastBlockTime = GetTime();
}
@@ -2133,7 +2133,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
mapBlockSource.emplace(hash, std::make_pair(pfrom->GetId(), true));
}
bool fNewBlock = false;
- ProcessNewBlock(chainparams, pblock, forceProcessing, NULL, &fNewBlock);
+ ProcessNewBlock(chainparams, pblock, forceProcessing, &fNewBlock);
if (fNewBlock)
pfrom->nLastBlockTime = GetTime();
}