From 5aee461a7c739ab5468ec9f48e391e1f975d7972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noah=20Bayindirli=20=F0=9F=A5=82?= Date: Fri, 10 May 2024 14:32:36 -0400 Subject: [PATCH] reuse parent class mp --- .../submitter/ethersV5/EV5ImpersonatedAccountTxSubmitter.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/typescript/sdk/src/providers/transactions/submitter/ethersV5/EV5ImpersonatedAccountTxSubmitter.ts b/typescript/sdk/src/providers/transactions/submitter/ethersV5/EV5ImpersonatedAccountTxSubmitter.ts index 7df62f825e..816baf0535 100644 --- a/typescript/sdk/src/providers/transactions/submitter/ethersV5/EV5ImpersonatedAccountTxSubmitter.ts +++ b/typescript/sdk/src/providers/transactions/submitter/ethersV5/EV5ImpersonatedAccountTxSubmitter.ts @@ -20,7 +20,7 @@ export class EV5ImpersonatedAccountTxSubmitter extends EV5JsonRpcTxSubmitter { }); constructor( - public readonly multiProvider: MultiProvider, + multiProvider: MultiProvider, public readonly props: EV5ImpersonatedAccountTxSubmitterProps, ) { super(multiProvider); @@ -32,7 +32,6 @@ export class EV5ImpersonatedAccountTxSubmitter extends EV5JsonRpcTxSubmitter { const impersonatedAccount = await impersonateAccount( this.props.userAddress, ); - this.multiProvider.setSharedSigner(impersonatedAccount); super.multiProvider.setSharedSigner(impersonatedAccount); return await super.submit(...txs); }