Skip to content
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.

Commit

Permalink
Merge pull request #58 from vikramrajkumar/btsx
Browse files Browse the repository at this point in the history
latest
  • Loading branch information
bitsha256 committed Sep 14, 2014
2 parents 537e0fe + a5eaf72 commit d3fedb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/client/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3168,7 +3168,7 @@ config load_config( const fc::path& datadir )
blockchain_security_state state;
int64_t required_confirmations = _chain_db->get_required_confirmations();
double participation_rate = _chain_db->get_average_delegate_participation();
if( participation_rate > 100 ) participation_rate = 0;
if( participation_rate > 100 ) participation_rate = 100;

state.estimated_confirmation_seconds = (uint32_t)(required_confirmations * BTS_BLOCKCHAIN_BLOCK_INTERVAL_SEC);
state.participation_rate = participation_rate;
Expand Down
2 changes: 1 addition & 1 deletion programs/web_wallet

0 comments on commit d3fedb2

Please sign in to comment.