Skip to content

Commit

Permalink
enddate
Browse files Browse the repository at this point in the history
  • Loading branch information
j-bitmaker committed Dec 29, 2023
1 parent 3acbb65 commit e48d24f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions js/satolist.js
Original file line number Diff line number Diff line change
Expand Up @@ -8631,8 +8631,7 @@ Platform = function (app, listofnodes) {

console.log('currentblock', self.currentBlock);

var endDate = new Date(new Date().getTime() - (ban.ending - self.currentBlock) * 60 * 1000);

var endDate = new Date(new Date().getTime() + ((ban.ending - self.currentBlock) * 60 * 1000 / (window.testpocketnet ? 2 : 1)));

var formattedDate = convertDate(dateToStr(endDate));

Expand Down Expand Up @@ -14699,8 +14698,6 @@ Platform = function (app, listofnodes) {

return self.app.api.rpc('getnodeinfo').then(d => {

debugger;

var t = deep(d, 'time') || 0

self.currentBlock = 0
Expand Down

0 comments on commit e48d24f

Please sign in to comment.