Let ProcessPendingReconstructedRecoveredSigs return void instead of bool

Return value is unused and the method actually never returned something.
This commit is contained in:
Alexander Block 2019-03-04 15:15:38 +01:00
parent f8f867a6bb
commit fae33e03ae
2 changed files with 2 additions and 2 deletions

View File

@ -440,7 +440,7 @@ void CSigningManager::CollectPendingRecoveredSigsToVerify(
}
}
bool CSigningManager::ProcessPendingReconstructedRecoveredSigs()
void CSigningManager::ProcessPendingReconstructedRecoveredSigs()
{
decltype(pendingReconstructedRecoveredSigs) l;
{

View File

@ -154,7 +154,7 @@ private:
void CollectPendingRecoveredSigsToVerify(size_t maxUniqueSessions,
std::unordered_map<NodeId, std::list<CRecoveredSig>>& retSigShares,
std::unordered_map<std::pair<Consensus::LLMQType, uint256>, CQuorumCPtr, StaticSaltedHasher>& retQuorums);
bool ProcessPendingReconstructedRecoveredSigs();
void ProcessPendingReconstructedRecoveredSigs();
bool ProcessPendingRecoveredSigs(CConnman& connman); // called from the worker thread of CSigSharesManager
void ProcessRecoveredSig(NodeId nodeId, const CRecoveredSig& recoveredSig, const CQuorumCPtr& quorum, CConnman& connman);
void Cleanup(); // called from the worker thread of CSigSharesManager