mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 13:32:47 +01:00
Initialize firstNodeId
This commit is contained in:
parent
4aa8689a15
commit
69a72ea5d5
@ -386,7 +386,7 @@ std::set<NodeId> BatchVerifyMessageSigs(CDKGSession& session, const std::vector<
|
|||||||
}
|
}
|
||||||
|
|
||||||
// are all messages from the same node?
|
// are all messages from the same node?
|
||||||
NodeId firstNodeId;
|
NodeId firstNodeId{-1};
|
||||||
first = true;
|
first = true;
|
||||||
bool nodeIdsAllSame = true;
|
bool nodeIdsAllSame = true;
|
||||||
for (auto it = messages.begin(); it != messages.end(); ++it) {
|
for (auto it = messages.begin(); it != messages.end(); ++it) {
|
||||||
|
Loading…
Reference in New Issue
Block a user