minor.
This commit is contained in:
parent
646b3c3028
commit
9e0aa7acbb
@ -1220,7 +1220,7 @@ TX.prototype.inspect = function inspect() {
|
|||||||
minFee: utils.btc(this.getMinFee()),
|
minFee: utils.btc(this.getMinFee()),
|
||||||
confirmations: this.getConfirmations(),
|
confirmations: this.getConfirmations(),
|
||||||
priority: this.getPriority().toString(10),
|
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,
|
block: this.block ? utils.revHex(this.block) : null,
|
||||||
ts: this.ts,
|
ts: this.ts,
|
||||||
ps: this.ps,
|
ps: this.ps,
|
||||||
@ -1229,8 +1229,7 @@ TX.prototype.inspect = function inspect() {
|
|||||||
version: this.version,
|
version: this.version,
|
||||||
inputs: this.inputs,
|
inputs: this.inputs,
|
||||||
outputs: this.outputs,
|
outputs: this.outputs,
|
||||||
locktime: this.locktime,
|
locktime: this.locktime
|
||||||
hint: this.hint
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user