crosslightning-intermediary
Advanced tools
Comparing version 3.0.8 to 3.0.9
@@ -75,3 +75,3 @@ "use strict"; | ||
} | ||
if (expiryTime.lt(currentTime)) { | ||
if (expiryTime != null && expiryTime.lt(currentTime)) { | ||
const isCommited = yield this.swapContract.isCommited(swap.data); | ||
@@ -78,0 +78,0 @@ if (isCommited) { |
{ | ||
"name": "crosslightning-intermediary", | ||
"version": "3.0.8", | ||
"version": "3.0.9", | ||
"description": "Main functionality implementation for intermediary node, easily extensible to any chain", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -121,3 +121,3 @@ import * as BN from "bn.js"; | ||
if(expiryTime.lt(currentTime)) { | ||
if(expiryTime!=null && expiryTime.lt(currentTime)) { | ||
const isCommited = await this.swapContract.isCommited(swap.data); | ||
@@ -124,0 +124,0 @@ |
313939