Skip to content

Commit

Permalink
fix: update suffix for websocket
Browse files Browse the repository at this point in the history
  • Loading branch information
Ez3kiel-dev committed Jan 10, 2024
1 parent 36a569a commit 0eeaf99
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion lib/src/repositories/rpc_client_repository.dart
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ sealed class RpcClientRepository {

/// Set up Uri object with WebSocket scheme.
static Uri setUpUri(String rpcAddress, {required bool secureWebSocket}) =>
Uri.parse('ws${secureWebSocket ? 's' : ''}://$rpcAddress/ws');
Uri.parse('ws${secureWebSocket ? 's' : ''}://$rpcAddress/json_rpc');

/// get client state
Stream<ClientState> get state async* {
Expand Down
3 changes: 0 additions & 3 deletions lib/src/utils/config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ const mainnetNodeURL = 'node.xelis.io';
/// testnet node url
const testnetNodeURL = 'testnet-node.xelis.io';

/// dev node url
const devNodeURL = 'dev-node.xelis.io';

/// original xelis asset
const xelisAsset =
'0000000000000000000000000000000000000000000000000000000000000000';

0 comments on commit 0eeaf99

Please sign in to comment.