mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +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?
|
||||
NodeId firstNodeId;
|
||||
NodeId firstNodeId{-1};
|
||||
first = true;
|
||||
bool nodeIdsAllSame = true;
|
||||
for (auto it = messages.begin(); it != messages.end(); ++it) {
|
||||
|
Loading…
Reference in New Issue
Block a user