Merge pull request #199 from homeopatchy/mempool-import-index-address-option

mempool: import indexAddress option.
This commit is contained in:
Christopher Jeffrey (JJ) 2017-05-12 13:31:09 -07:00 committed by GitHub
commit 405c18f080

View File

@ -2154,6 +2154,11 @@ MempoolOptions.prototype.fromOptions = function fromOptions(options) {
this.persistent = options.persistent;
}
if (options.indexAddress != null) {
assert(typeof options.indexAddress === 'boolean');
this.indexAddress = options.indexAddress;
}
return this;
};