Skip to content

Commit

Permalink
Correct local sidestake removal to status of INACTIVE not DELETED.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescowens committed Oct 1, 2023
1 parent 9a31615 commit 522f453
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gridcoin/sidestake.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
Expand Down

0 comments on commit 522f453

Please sign in to comment.