Skip to content

Commit

Permalink
bugfix: init algod client (#221)
Browse files Browse the repository at this point in the history
* bugfix: init algod client

* keep store.state.algodClient in sync

* Revert "keep store.state.algodClient in sync"

This reverts commit 362585e.
  • Loading branch information
acfunk authored Aug 29, 2024
1 parent dd17e0d commit 2ff796b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/use-wallet/src/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class WalletManager {
}

this.networkConfig = this.initNetworkConfig(network, algod)
this.algodClient = this.createAlgodClient(this.networkConfig[network])
this.algodClient = this.createAlgodClient(this.networkConfig[initialState.activeNetwork])

this.initializeWallets(wallets)
}
Expand Down

0 comments on commit 2ff796b

Please sign in to comment.