diff --git a/src/llmq/quorums.cpp b/src/llmq/quorums.cpp index 13572fd579..d73297625f 100644 --- a/src/llmq/quorums.cpp +++ b/src/llmq/quorums.cpp @@ -101,7 +101,7 @@ int CQuorum::GetMemberIndex(const uint256& proTxHash) const return -1; } -bool CQuorum::WriteContributions(CEvoDB& evoDb) +void CQuorum::WriteContributions(CEvoDB& evoDb) { uint256 dbKey = MakeQuorumKey(*this); @@ -111,7 +111,6 @@ bool CQuorum::WriteContributions(CEvoDB& evoDb) if (skShare.IsValid()) { evoDb.GetRawDB().Write(std::make_pair(DB_QUORUM_SK_SHARE, dbKey), skShare); } - return true; } bool CQuorum::ReadContributions(CEvoDB& evoDb) diff --git a/src/llmq/quorums.h b/src/llmq/quorums.h index 5977c053be..9273dbbcc5 100644 --- a/src/llmq/quorums.h +++ b/src/llmq/quorums.h @@ -63,7 +63,7 @@ public: CBLSSecretKey GetSkShare() const; private: - bool WriteContributions(CEvoDB& evoDb); + void WriteContributions(CEvoDB& evoDb); bool ReadContributions(CEvoDB& evoDb); static void StartCachePopulatorThread(std::shared_ptr _this); };