primitives: show hex on json.
This commit is contained in:
parent
00e85cc7c2
commit
cfd1715c9f
@ -2168,7 +2168,8 @@ TX.prototype.getJSON = function getJSON(network, view, entry, index) {
|
|||||||
outputs: this.outputs.map((output) => {
|
outputs: this.outputs.map((output) => {
|
||||||
return output.getJSON(network);
|
return output.getJSON(network);
|
||||||
}),
|
}),
|
||||||
locktime: this.locktime
|
locktime: this.locktime,
|
||||||
|
hex: this.toRaw().toString('hex')
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user