diff --git a/lib/config.py b/lib/config.py index 225c3958..1a676fe1 100644 --- a/lib/config.py +++ b/lib/config.py @@ -10,7 +10,7 @@ ) sentinel_config_file = os.environ.get('SENTINEL_CONFIG', default_sentinel_config) sentinel_cfg = DashConfig.tokenize(sentinel_config_file) -sentinel_version = "1.5.0" +sentinel_version = "1.6.0" def get_dash_conf(): diff --git a/lib/dashd.py b/lib/dashd.py index 1eed93cb..857ab9e4 100644 --- a/lib/dashd.py +++ b/lib/dashd.py @@ -65,7 +65,7 @@ def get_current_masternode_vin(self): def governance_quorum(self): # TODO: expensive call, so memoize this - total_masternodes = self.rpc_command('masternode', 'count', 'enabled') + total_masternodes = self.rpc_command('masternode', 'count')['enabled'] min_quorum = self.govinfo['governanceminquorum'] # the minimum quorum is calculated based on the number of masternodes