Skip to content

Commit

Permalink
Fix typo error
Browse files Browse the repository at this point in the history
Fixed error while declaring EthereumWalletRegistry instance. Error
caused using Mainnet contracts on Goerli chain resulting with
error when SDK is consumed with an entrypoint.
  • Loading branch information
kpyszkowski committed Oct 31, 2023
1 parent f5aff67 commit a301af0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions typescript/src/lib/ethereum/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { TBTCContracts } from "../contracts"
import { providers, Signer } from "ethers"
import { TBTCContracts } from "../contracts"
import { EthereumAddress } from "./address"
import { EthereumBridge } from "./bridge"
import { EthereumWalletRegistry } from "./wallet-registry"
import { EthereumTBTCToken } from "./tbtc-token"
import { EthereumTBTCVault } from "./tbtc-vault"
import { EthereumAddress } from "./address"
import { EthereumWalletRegistry } from "./wallet-registry"

export * from "./address"
export * from "./bridge"
Expand Down Expand Up @@ -96,7 +96,7 @@ export async function loadEthereumContracts(
const tbtcVault = new EthereumTBTCVault({ signerOrProvider: signer }, network)
const walletRegistry = new EthereumWalletRegistry(
{ signerOrProvider: signer },
"mainnet"
network
)

const bridgeWalletRegistry = await bridge.walletRegistry()
Expand Down

0 comments on commit a301af0

Please sign in to comment.