Skip to content

Commit 4b6ab02

Browse files
practicalswiftfanquake
authored andcommitted
Remove unused argument to ProcessGetBlockData(...)
1 parent c469ecf commit 4b6ab02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/net_processing.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ static void RelayAddress(const CAddress& addr, bool fReachable, CConnman* connma
10701070
connman->ForEachNodeThen(std::move(sortfunc), std::move(pushfunc));
10711071
}
10721072

1073-
void static ProcessGetBlockData(CNode* pfrom, const CChainParams& chainparams, const CInv& inv, CConnman* connman, const std::atomic<bool>& interruptMsgProc)
1073+
void static ProcessGetBlockData(CNode* pfrom, const CChainParams& chainparams, const CInv& inv, CConnman* connman)
10741074
{
10751075
bool send = false;
10761076
std::shared_ptr<const CBlock> a_recent_block;
@@ -1274,7 +1274,7 @@ void static ProcessGetData(CNode* pfrom, const CChainParams& chainparams, CConnm
12741274
const CInv &inv = *it;
12751275
if (inv.type == MSG_BLOCK || inv.type == MSG_FILTERED_BLOCK || inv.type == MSG_CMPCT_BLOCK || inv.type == MSG_WITNESS_BLOCK) {
12761276
it++;
1277-
ProcessGetBlockData(pfrom, chainparams, inv, connman, interruptMsgProc);
1277+
ProcessGetBlockData(pfrom, chainparams, inv, connman);
12781278
}
12791279
}
12801280

0 commit comments

Comments
 (0)