diff --git a/typescript/src/lib/ethereum/index.ts b/typescript/src/lib/ethereum/index.ts index d61c7eaad..bf0764926 100644 --- a/typescript/src/lib/ethereum/index.ts +++ b/typescript/src/lib/ethereum/index.ts @@ -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" @@ -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()