Skip to content

Commit

Permalink
Hide pontem network
Browse files Browse the repository at this point in the history
  • Loading branch information
sirWill committed May 24, 2022
1 parent 3a9583f commit 18be007
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/scripts/controllers/network/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import PontemQuery from '@pontem/pontem-query';
import {
APTOS,
APTOS_CHAIN_ID,
MAINNET,
// MAINNET,
DEFAULT_PROVIDER_TYPES,
NETWORK_TYPE_RPC,
NETWORK_TYPE_TO_ID_MAP,
MAINNET_CHAIN_ID,
// MAINNET_CHAIN_ID,
INFURA_BLOCKED_KEY,
CHAIN_ID_TO_RPC_URL_MAP,
CHAIN_ID_TO_TYPE_MAP,
Expand Down
6 changes: 3 additions & 3 deletions shared/constants/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,15 @@ export const NETWORK_TYPE_TO_ID_MAP = {

export const NETWORK_TO_NAME_MAP = {
[APTOS]: APTOS_DISPLAY_NAME,
[PONTEM]: PONTEM_DISPLAY_NAME,
// [PONTEM]: PONTEM_DISPLAY_NAME,
[ROPSTEN]: ROPSTEN_DISPLAY_NAME,
[RINKEBY]: RINKEBY_DISPLAY_NAME,
[KOVAN]: KOVAN_DISPLAY_NAME,
[MAINNET]: MAINNET_DISPLAY_NAME,
[GOERLI]: GOERLI_DISPLAY_NAME,
[LOCALHOST]: LOCALHOST_DISPLAY_NAME,

[PONTEM_NETWORK_ID]: PONTEM_DISPLAY_NAME,
// [PONTEM_NETWORK_ID]: PONTEM_DISPLAY_NAME,
[APTOS_NETWORK_ID]: APTOS_DISPLAY_NAME,
[ROPSTEN_NETWORK_ID]: ROPSTEN_DISPLAY_NAME,
[RINKEBY_NETWORK_ID]: RINKEBY_DISPLAY_NAME,
Expand All @@ -118,7 +118,7 @@ export const NETWORK_TO_NAME_MAP = {
[MAINNET_NETWORK_ID]: MAINNET_DISPLAY_NAME,
[LOCALHOST_NETWORK_ID]: LOCALHOST_DISPLAY_NAME,

[PONTEM_CHAIN_ID]: PONTEM_DISPLAY_NAME,
// [PONTEM_CHAIN_ID]: PONTEM_DISPLAY_NAME,
[APTOS_CHAIN_ID]: APTOS_DISPLAY_NAME,
[ROPSTEN_CHAIN_ID]: ROPSTEN_DISPLAY_NAME,
[RINKEBY_CHAIN_ID]: RINKEBY_DISPLAY_NAME,
Expand Down
2 changes: 1 addition & 1 deletion ui/components/app/dropdowns/network-dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ class NetworkDropdown extends Component {

<div className="network-dropdown-list">
{this.renderNetworkEntry('aptos')}
{this.renderNetworkEntry('pontem')}
{/* {this.renderNetworkEntry('pontem')} */}

{this.renderCustomRpcList(
rpcListDetailWithoutLocalHost,
Expand Down

0 comments on commit 18be007

Please sign in to comment.