node: simplify index-prefix option
This commit is contained in:
parent
a6fd1bec1a
commit
ce16bc9239
@ -166,7 +166,7 @@ class FullNode extends Node {
|
||||
chain: this.chain,
|
||||
prune: this.config.bool('prune'),
|
||||
memory: this.config.bool('memory'),
|
||||
prefix: this.config.filter('index').str('prefix') || this.config.prefix
|
||||
prefix: this.config.str('index-prefix', this.config.prefix)
|
||||
});
|
||||
}
|
||||
|
||||
@ -178,7 +178,7 @@ class FullNode extends Node {
|
||||
chain: this.chain,
|
||||
prune: this.config.bool('prune'),
|
||||
memory: this.config.bool('memory'),
|
||||
prefix: this.config.filter('index').str('prefix') || this.config.prefix,
|
||||
prefix: this.config.str('index-prefix', this.config.prefix),
|
||||
maxTxs: this.config.uint('max-txs')
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user