Skip to content

Commit

Permalink
fix: remove testnet ws provider url mocked
Browse files Browse the repository at this point in the history
  • Loading branch information
vinicius-sacramento committed Jun 26, 2024
1 parent 3c015a3 commit 4d1b7b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/providers/src/context/commune.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export function CommuneProvider({
web3Accounts,
web3FromAddress,
});
const provider = new WsProvider('wss://testnet-commune-api-node-1.communeai.net');
const provider = new WsProvider(wsEndpoint);
const newApi = await ApiPromise.create({ provider });
setApi(newApi);
setIsInitialized(true);
Expand Down

0 comments on commit 4d1b7b0

Please sign in to comment.