mempool: minor.

This commit is contained in:
Christopher Jeffrey 2016-05-14 14:57:32 -07:00
parent d68509da1d
commit a1c200356e
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1806,6 +1806,9 @@ Mempool.prototype.getSize = function getSize() {
*/
function MempoolEntry(options) {
if (!(this instanceof MempoolEntry))
return new MempoolEntry(options);
this.tx = options.tx;
this.height = options.height;
this.priority = options.priority;