Drop unused invSet
in CDKGSession
(#3303)
This commit is contained in:
parent
87e54c80fe
commit
8b143ddee9
@ -280,7 +280,6 @@ void CDKGSession::ReceiveMessage(const uint256& hash, const CDKGContribution& qc
|
||||
member->contributions.emplace(hash);
|
||||
|
||||
CInv inv(MSG_QUORUM_CONTRIB, hash);
|
||||
invSet.emplace(inv);
|
||||
RelayInvToParticipants(inv);
|
||||
|
||||
quorumDKGDebugManager->UpdateLocalMemberStatus(params.type, member->idx, [&](CDKGDebugMemberStatus& status) {
|
||||
@ -547,7 +546,6 @@ void CDKGSession::ReceiveMessage(const uint256& hash, const CDKGComplaint& qc, b
|
||||
member->complaints.emplace(hash);
|
||||
|
||||
CInv inv(MSG_QUORUM_COMPLAINT, hash);
|
||||
invSet.emplace(inv);
|
||||
RelayInvToParticipants(inv);
|
||||
|
||||
quorumDKGDebugManager->UpdateLocalMemberStatus(params.type, member->idx, [&](CDKGDebugMemberStatus& status) {
|
||||
@ -762,7 +760,6 @@ void CDKGSession::ReceiveMessage(const uint256& hash, const CDKGJustification& q
|
||||
|
||||
// we always relay, even if further verification fails
|
||||
CInv inv(MSG_QUORUM_JUSTIFICATION, hash);
|
||||
invSet.emplace(inv);
|
||||
RelayInvToParticipants(inv);
|
||||
|
||||
quorumDKGDebugManager->UpdateLocalMemberStatus(params.type, member->idx, [&](CDKGDebugMemberStatus& status) {
|
||||
@ -1130,7 +1127,6 @@ void CDKGSession::ReceiveMessage(const uint256& hash, const CDKGPrematureCommitm
|
||||
validCommitments.emplace(hash);
|
||||
|
||||
CInv inv(MSG_QUORUM_PREMATURE_COMMITMENT, hash);
|
||||
invSet.emplace(inv);
|
||||
RelayInvToParticipants(inv);
|
||||
|
||||
quorumDKGDebugManager->UpdateLocalMemberStatus(params.type, member->idx, [&](CDKGDebugMemberStatus& status) {
|
||||
|
@ -274,7 +274,6 @@ private:
|
||||
std::map<uint256, CDKGComplaint> complaints;
|
||||
std::map<uint256, CDKGJustification> justifications;
|
||||
std::map<uint256, CDKGPrematureCommitment> prematureCommitments;
|
||||
std::set<CInv> invSet;
|
||||
|
||||
std::vector<size_t> pendingContributionVerifications;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user