refactor: Remove unused bool parameter in RPCNotifyBlockChange()

This commit is contained in:
Hennadii Stepanov
2020-03-04 19:48:32 +02:00
parent 1df77014d8
commit 2bec309ad6
3 changed files with 5 additions and 5 deletions

View File

@@ -205,7 +205,7 @@ static UniValue getbestblockhash(const JSONRPCRequest& request)
return ::ChainActive().Tip()->GetBlockHash().GetHex();
}
void RPCNotifyBlockChange(bool ibd, const CBlockIndex * pindex)
void RPCNotifyBlockChange(const CBlockIndex* pindex)
{
if(pindex) {
std::lock_guard<std::mutex> lock(cs_blockchange);