Browse Source

Update application.js

master
yuriy0803 1 year ago committed by GitHub
parent
commit
7231cd0899
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      www/app/controllers/application.js

2
www/app/controllers/application.js

@ -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;
}
}),

Loading…
Cancel
Save