Skip to content

Commit

Permalink
Use correct signer
Browse files Browse the repository at this point in the history
  • Loading branch information
pxrl committed May 16, 2024
1 parent 479adfd commit 2073a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clients/TokenClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 2073a4d

Please sign in to comment.