aboutsummaryrefslogtreecommitdiffstats
path: root/src/electrum.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/electrum.js')
-rw-r--r--src/electrum.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/electrum.js b/src/electrum.js
index 57f8c34..b8ca164 100644
--- a/src/electrum.js
+++ b/src/electrum.js
@@ -52,7 +52,8 @@ export class ElectrumApi {
}
explorerTx(txid) {
- return this._explorerWeb + (this.testnet ? '/testnet/tx/' : '/tx/') + txid;
+ // explorerWeb already carries any network path prefix (e.g. .../testnet).
+ return this._explorerWeb + '/tx/' + txid;
}
_sh(address) {