From 48ac1cba3c7e9f579110a9f2609b604ed0a80620 Mon Sep 17 00:00:00 2001 From: Zathras Date: Tue, 3 Jan 2017 11:50:34 +1100 Subject: [PATCH] Test for fee distribution when number of tokens (and thus threshold) changes --- src/omnicore/omnicore.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/omnicore/omnicore.cpp b/src/omnicore/omnicore.cpp index 78b84c0f10dec..315b138b3608e 100644 --- a/src/omnicore/omnicore.cpp +++ b/src/omnicore/omnicore.cpp @@ -478,6 +478,7 @@ uint32_t mastercore::GetNextPropertyId(bool maineco) void NotifyTotalTokensChanged(uint32_t propertyId, int block) { p_feecache->UpdateDistributionThresholds(propertyId); + p_feecache->EvalCache(propertyId, block); } void CheckWalletUpdate(bool forceUpdate)