Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #76 from UdjinM6/fix_mncount
Browse files Browse the repository at this point in the history
Update `governance_quorum` and bump version to 1.6.0 for Dash Core v0.17 release
  • Loading branch information
UdjinM6 authored May 26, 2021
2 parents 6322711 + a85eb0b commit 1a2d635
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion lib/dashd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a2d635

Please sign in to comment.