Skip to content

Commit

Permalink
Update example/src/util.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Victor Kirov <[email protected]>
  • Loading branch information
emilcondrea and victorkirov authored Jan 10, 2025
1 parent 8796bda commit 6623873
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ export function getMempoolEndpoint(network: BitcoinNetworkType): string {
let url = 'https://mempool.space/';
switch (network) {
case BitcoinNetworkType.Testnet:
url += '/testnet/';
url += 'testnet/';
break;
case BitcoinNetworkType.Signet:
url += '/signet/';
url += 'signet/';
break;
case BitcoinNetworkType.Testnet4:
url += '/testnet4/';
url += 'testnet4/';
break;
}
return url;
Expand Down

0 comments on commit 6623873

Please sign in to comment.