This commit is contained in:
Christopher Jeffrey 2016-04-09 01:19:32 -07:00
parent 646b3c3028
commit 9e0aa7acbb
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1220,7 +1220,7 @@ TX.prototype.inspect = function inspect() {
minFee: utils.btc(this.getMinFee()),
confirmations: this.getConfirmations(),
priority: this.getPriority().toString(10),
date: new Date(this.ts * 1000).toISOString(),
date: new Date((this.ts || this.ps) * 1000).toISOString(),
block: this.block ? utils.revHex(this.block) : null,
ts: this.ts,
ps: this.ps,
@ -1229,8 +1229,7 @@ TX.prototype.inspect = function inspect() {
version: this.version,
inputs: this.inputs,
outputs: this.outputs,
locktime: this.locktime,
hint: this.hint
locktime: this.locktime
};
};