Skip to content

Commit

Permalink
added persistence mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
Booyoun-Kim committed Mar 30, 2021
1 parent 84c43cb commit 1f20558
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions www/js/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
chainId2 = "shentu-1";
break;
case "persistence":
chainId2 = "test-core-1";
chainId2 = "core-1";
break;
case "sent":
chainId2 = "sentinelhub-1";
Expand Down Expand Up @@ -72,7 +72,7 @@
prefix = "iaa";
} else if (chainId2.indexOf("edgenet-6") != -1) {
prefix = "akash";
} else if (chainId2.indexOf("test-core-1") != -1) {
} else if (chainId2.indexOf("core-1") != -1) {
prefix = "persistence";
} else if (chainId2.indexOf("sentinel") != -1) {
prefix = "sent";
Expand Down Expand Up @@ -34449,6 +34449,8 @@ Cosmos.prototype.getAccounts = function(address) {
accountsApi = "/cosmos/auth/v1beta1/accounts/";
} else if (this.chainId.indexOf("edgenet") != -1) {
accountsApi = "/cosmos/auth/v1beta1/accounts/";
} else if (this.chainId.indexOf("core-1") != -1) {
accountsApi = "/cosmos/auth/v1beta1/accounts/";
} else {
accountsApi = "/auth/accounts/";
}
Expand Down

0 comments on commit 1f20558

Please sign in to comment.