mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Use void as return type for WriteContributions
This commit is contained in:
parent
edac100f5c
commit
b627528cef
@ -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)
|
||||
|
@ -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<CQuorum> _this);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user