janoside / btc-rpc-explorer

Database-free, self-hosted Bitcoin explorer, via RPC to Bitcoin Core.
https://bitcoinexplorer.org
MIT License
1.58k stars 1.18k forks source link

Use new electrs error message when an address has a history longer than the configured lookup limit #494

Closed ExperiBass closed 1 year ago

ExperiBass commented 1 year ago

I guess this updates #190? Makes it work again, at least on my machine (Running electrs 0.9.9)

I removed the reference to #67 since its a different error, and added some deps (bip32, bs58check) that the explorer wouldnt start without.

Also, is the err.e.message && err.e.message == necessary? it could be reduced to err.e.message == without any adverse effects afaik (but this is JS, so i wouldnt be surprised)

Closes #493