From fae33e03ae5c112a0adceb9120b135211f8b9a3b Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Mon, 4 Mar 2019 15:15:38 +0100 Subject: [PATCH] Let ProcessPendingReconstructedRecoveredSigs return void instead of bool Return value is unused and the method actually never returned something. --- src/llmq/quorums_signing.cpp | 2 +- src/llmq/quorums_signing.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/llmq/quorums_signing.cpp b/src/llmq/quorums_signing.cpp index 8941c4504..7c2f4e0ce 100644 --- a/src/llmq/quorums_signing.cpp +++ b/src/llmq/quorums_signing.cpp @@ -440,7 +440,7 @@ void CSigningManager::CollectPendingRecoveredSigsToVerify( } } -bool CSigningManager::ProcessPendingReconstructedRecoveredSigs() +void CSigningManager::ProcessPendingReconstructedRecoveredSigs() { decltype(pendingReconstructedRecoveredSigs) l; { diff --git a/src/llmq/quorums_signing.h b/src/llmq/quorums_signing.h index 6a7325de6..3c379e4bf 100644 --- a/src/llmq/quorums_signing.h +++ b/src/llmq/quorums_signing.h @@ -154,7 +154,7 @@ private: void CollectPendingRecoveredSigsToVerify(size_t maxUniqueSessions, std::unordered_map>& retSigShares, std::unordered_map, 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