Skip to content

Commit 34e1375

Browse files
committed
[BUG] Add missing initialization for MNsInfo::total
1 parent 5489fc4 commit 34e1375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/masternodeman.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class CMasternodeMan
161161

162162
struct MNsInfo {
163163
// All the known MNs
164-
int total;
164+
int total{0};
165165
// enabled MNs eligible for payments. Older than 8000 seconds.
166166
int stableSize{0};
167167
// MNs enabled.

0 commit comments

Comments
 (0)