From 112986edaba3a6acdda8426201d44ec159e16e59 Mon Sep 17 00:00:00 2001 From: Tim Flynn Date: Wed, 16 Nov 2016 17:28:10 -0500 Subject: [PATCH] Fix CheckMasternodeOrphanObjects so that iterator is incremented once per passage through the loop block --- src/governance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/governance.cpp b/src/governance.cpp index 3656fa707..db7f159f1 100644 --- a/src/governance.cpp +++ b/src/governance.cpp @@ -683,8 +683,8 @@ void CGovernanceManager::CheckMasternodeOrphanObjects() } else { ++it; - continue; } + continue; } if(AddGovernanceObject(govobj)) {