From 522f453cd5a27db2b1ff090e91c851cc0387c7ee Mon Sep 17 00:00:00 2001 From: "James C. Owens" Date: Sun, 1 Oct 2023 17:26:42 -0400 Subject: [PATCH] Correct local sidestake removal to status of INACTIVE not DELETED. --- src/gridcoin/sidestake.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gridcoin/sidestake.cpp b/src/gridcoin/sidestake.cpp index b9beec8389..d5d777a9bc 100644 --- a/src/gridcoin/sidestake.cpp +++ b/src/gridcoin/sidestake.cpp @@ -605,9 +605,9 @@ void SideStakeRegistry::LoadLocalSideStakesFromConfig() auto iter = std::find(vSideStakes.begin(), vSideStakes.end(), *entry.second); if (iter == vSideStakes.end()) { - // Entry in map is no longer found in config files, so mark map entry deleted. + // Entry in map is no longer found in config files, so mark map entry inactive. - entry.second->m_status = SideStakeStatus::DELETED; + entry.second->m_status = SideStakeStatus::INACTIVE; } } }