Skip to content

Commit

Permalink
Update application.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy0803 authored Jul 24, 2024
1 parent 1cb5868 commit 7231cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/app/controllers/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default Ember.Controller.extend({

nextEpoch: Ember.computed('height', {
get() {
var epochOffset = (60000 - (this.getWithDefault('height', 1) % 30000)) * 1000 * this.get('blockTime');
var epochOffset = (60000 - (this.getWithDefault('height', 1) % 60000)) * 1000 * this.get('blockTime');
return Date.now() + epochOffset;
}
}),
Expand Down

0 comments on commit 7231cd0

Please sign in to comment.