Commit 34382e2c authored by Tom Bradshaw's avatar Tom Bradshaw

Add hack to prevent segfault on ResetSync() with -jumpstart enabled

parent 2029222a
......@@ -1047,7 +1047,9 @@ void CBudgetManager::ProcessMessage(CNode* pfrom, const std::string& strCommand,
void CBudgetManager::ResetSync()
// Jump start should only be used for brief moment to start the chain.
if (GetBoolArg("-jumpstart", false))
std::map<uint256, CBudgetProposalBroadcast>::iterator it1 = mapSeenMasternodeBudgetProposals.begin();
while(it1 != mapSeenMasternodeBudgetProposals.end()){
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment