Skip to content

Commit

Permalink
An other config - this one for remote devnet (parfit)
Browse files Browse the repository at this point in the history
  • Loading branch information
radicleart committed Oct 31, 2023
1 parent 226ebe1 commit 6683a8d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ export function setConfig(network:string) {
CONFIG = DEVNET_REMOTE_CONFIG;
return
}
else if (network.indexOf('devnet') > -1) {
CONFIG = DEVNET_CONFIG;
return
}
else if (network.indexOf('devnet') === -1) network = 'devnet'
else if (network.indexOf('testnet') === -1) network = 'testnet'
else if (network.indexOf('mainnet') === -1) network = 'mainnet'
Expand Down

0 comments on commit 6683a8d

Please sign in to comment.