tso-data-models
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -47,5 +47,4 @@ "use strict"; | ||
OpenEpoch.prototype.updateEndTime = function () { | ||
var tempEnd = new Date(this.epochStart * 1000); | ||
var timeToAdd = 120 * 1000; | ||
this.epochEnd = tempEnd.getMilliseconds() + timeToAdd; | ||
this.epochEnd = this.epochStart + timeToAdd; | ||
}; | ||
@@ -52,0 +51,0 @@ OpenEpoch.prototype.getDataFromBlockChain = function () { |
{ | ||
"name": "tso-data-models", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -15,5 +15,4 @@ import { PriceSubmission } from "./PriceSubmission"; | ||
updateEndTime(): void { | ||
const tempEnd: Date = new Date(this.epochStart * 1000); | ||
const timeToAdd = 120 * 1000; | ||
this.epochEnd = tempEnd.getMilliseconds() + timeToAdd; | ||
this.epochEnd = this.epochStart + timeToAdd; | ||
} | ||
@@ -20,0 +19,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
47456
704