Skip to content

Commit

Permalink
Update RPC-Connection.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
DrW3RK authored Feb 21, 2024
1 parent 05a73fb commit eb3724a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/RPC-Connection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ function RPC({ network, path, defaultValue, filter=undefined }) {
wsUrl = "wss://kusama-rpc.polkadot.io/";
break;
case Statemine:
wsUrl = "wss://statemine-rpc.polkadot.io/";
wsUrl = "wss://kusama-asset-hub-rpc.polkadot.io/";
break;
case Statemint:
wsUrl = "wss://statemint-rpc.polkadot.io/";
wsUrl = "wss://polkadot-asset-hub-rpc.polkadot.io/";
break;
default:
console.log(`Unknown network provided, ${network}`);
Expand Down Expand Up @@ -161,4 +161,4 @@ function applyFilter(value, filter, network, setReturnValue) {
}
}

export default RPC;
export default RPC;

0 comments on commit eb3724a

Please sign in to comment.