Skip to content

Commit

Permalink
Fix RPC switching [2nd iteration] (#187) (#188)
Browse files Browse the repository at this point in the history
* Fix RPC switching [2nd iteration] (#187)

* RPCs switching scheme improvements

* removing beta suffix

* Update src/networks/evm/index.ts

Co-authored-by: Alexander Filippov <[email protected]>

* fixes typos

---------

Co-authored-by: EvgenKor <[email protected]>
Co-authored-by: Alexander Filippov <[email protected]>
  • Loading branch information
3 people authored Jul 9, 2024
1 parent 5ebd9e4 commit 5df7dcf
Show file tree
Hide file tree
Showing 6 changed files with 108 additions and 100 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zkbob-client-js",
"version": "5.5.1",
"version": "5.5.2",
"description": "zkBob integration library",
"repository": "[email protected]:zkBob/libzkbob-client-js.git",
"author": "Dmitry Vdovin <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src/client-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export class ZkBobProvider {
return Object.keys(this.pools);
}

// swithing to the another pool
// switching to the another pool
public switchToPool(poolAlias: string) {
if (!this.pools[poolAlias]) {
throw new InternalError(`Cannot activate unknown pool ${poolAlias}`);
Expand Down
Loading

0 comments on commit 5df7dcf

Please sign in to comment.