mempool: import indexAddress option
This commit is contained in:
parent
6acef06cbc
commit
fba9b46d25
@ -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