Page MenuHomePhabricator

[explorer] Fix address conversion on testnet
ClosedPublic

Authored by Fabien on Fri, Mar 28, 09:17.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC0b6c26f53098: [explorer] Fix address conversion on testnet
Summary

When visiting an address page on the testnet explorer, the legacy address doesn't use the testnet network. This diff fixes this bug.

Test Plan
cd web/explorer/explorer-exe
cp config.dist.toml config.toml

Edit config.toml to add:

chain = "testnet"

And change the chronik server to chronik-testnet.fabien.cash.
Then:

cargo run

Open a address page and check the legacy address is correct.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable