mempool: minor.
This commit is contained in:
parent
d68509da1d
commit
a1c200356e
@ -1806,6 +1806,9 @@ Mempool.prototype.getSize = function getSize() {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
function MempoolEntry(options) {
|
function MempoolEntry(options) {
|
||||||
|
if (!(this instanceof MempoolEntry))
|
||||||
|
return new MempoolEntry(options);
|
||||||
|
|
||||||
this.tx = options.tx;
|
this.tx = options.tx;
|
||||||
this.height = options.height;
|
this.height = options.height;
|
||||||
this.priority = options.priority;
|
this.priority = options.priority;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user