diff --git a/src/masternode-budget.cpp b/src/masternode-budget.cpp index 4f65d06251..fd38035799 100644 --- a/src/masternode-budget.cpp +++ b/src/masternode-budget.cpp @@ -771,7 +771,8 @@ CAmount CBudgetManager::GetTotalBudget(int nHeight) void CBudgetManager::NewBlock() { - LOCK(cs); + TRY_LOCK(cs, fBudgetNewBlock); + if(!fBudgetNewBlock) return; if (masternodeSync.RequestedMasternodeAssets <= MASTERNODE_SYNC_BUDGET) return; diff --git a/src/spork.h b/src/spork.h index 34ea743ae9..e1e0ea4518 100644 --- a/src/spork.h +++ b/src/spork.h @@ -46,7 +46,7 @@ using namespace boost; #define SPORK_10_MASTERNODE_PAY_UPDATED_NODES_DEFAULT 4070908800 //OFF #define SPORK_11_RESET_BUDGET_DEFAULT 0 #define SPORK_12_RECONSIDER_BLOCKS_DEFAULT 0 -#define SPORK_13_ENABLE_SUPERBLOCKS_DEFAULT 1438611701 //1439510400 //8/13/2015, 5:00:00 PM +#define SPORK_13_ENABLE_SUPERBLOCKS_DEFAULT 4070908800 //OFF class CSporkMessage; class CSporkManager;