We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22e543b commit 7fc9f53Copy full SHA for 7fc9f53
src/views/chain/Producers.vue
@@ -155,7 +155,7 @@ export default class Producers extends Vue {
155
156
let timestamp_epoch:number = 946684800000;
157
let dates_:number = (Date.now() / 1000) - (timestamp_epoch / 1000);
158
- let weight_:number = Math.ceil(dates_ / (86400 * 7)) / 52; //86400 = seconds per day 24*3600
+ let weight_:number = Math.floor(dates_ / (86400 * 7)) / 52; //86400 = seconds per day 24*3600
159
return Math.pow(2, weight_);
160
}
161
0 commit comments