indexer: fix error message
This commit is contained in:
parent
0551096c0a
commit
400d578716
@ -218,7 +218,7 @@ class AddrIndexer extends Indexer {
|
|||||||
limit = this.maxTxs;
|
limit = this.maxTxs;
|
||||||
|
|
||||||
if (limit > this.maxTxs)
|
if (limit > this.maxTxs)
|
||||||
throw new Error('Limit above max of ${this.maxTxs}.');
|
throw new Error(`Limit above max of ${this.maxTxs}.`);
|
||||||
|
|
||||||
const hash = Address.getHash(addr);
|
const hash = Address.getHash(addr);
|
||||||
const prefix = addr.getPrefix(this.network);
|
const prefix = addr.getPrefix(this.network);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user