From 2073a4df0fa63895831d6dcdb797fc8feb4268ab Mon Sep 17 00:00:00 2001 From: Paul <108695806+pxrl@users.noreply.github.com> Date: Thu, 16 May 2024 19:21:14 +0200 Subject: [PATCH] Use correct signer --- src/clients/TokenClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clients/TokenClient.ts b/src/clients/TokenClient.ts index 62b58be0c..dee189cb2 100644 --- a/src/clients/TokenClient.ts +++ b/src/clients/TokenClient.ts @@ -172,7 +172,7 @@ export class TokenClient { } resolveRemoteTokens(chainId: number, hubPoolTokens: L1Token[]): Contract[] { - const { signer } = this.hubPoolClient.hubPool; + const { signer } = this.spokePoolClients[chainId].spokePool; if (chainId === this.hubPoolClient.chainId) { return hubPoolTokens.map(({ address }) => new Contract(address, ERC20.abi, signer));