Merge pull request #199 from homeopatchy/mempool-import-index-address-option
mempool: import indexAddress option.
This commit is contained in:
commit
405c18f080
@ -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;
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user