indexer: fix error message

This commit is contained in:
Braydon Fuller 2019-06-05 11:59:28 -07:00
parent 0551096c0a
commit 400d578716
No known key found for this signature in database
GPG Key ID: F24F232D108B3AD4

View File

@ -218,7 +218,7 @@ class AddrIndexer extends Indexer {
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 prefix = addr.getPrefix(this.network);