From 36c28fad1bb38174404079ef211298b78d23a78e Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Sat, 30 Jul 2016 15:34:48 +0400 Subject: [PATCH] Merge #925: fix a bug in #920 e7a2670 fix a bug in #920 --- src/masternodeman.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/masternodeman.cpp b/src/masternodeman.cpp index 0b70d95f4..69f173f99 100644 --- a/src/masternodeman.cpp +++ b/src/masternodeman.cpp @@ -371,7 +371,7 @@ CMasternode *CMasternodeMan::FindRandomNotInVec(std::vector &vecToExclude } if(fExclude) continue; // found the one not in vecToExclude - return &mn; + return Find(mn.vin); } return NULL;