Skip to content

Commit

Permalink
reuse parent class mp
Browse files Browse the repository at this point in the history
  • Loading branch information
nbayindirli committed May 10, 2024
1 parent 2806734 commit 5aee461
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class EV5ImpersonatedAccountTxSubmitter extends EV5JsonRpcTxSubmitter {
});

constructor(
public readonly multiProvider: MultiProvider,
multiProvider: MultiProvider,
public readonly props: EV5ImpersonatedAccountTxSubmitterProps,
) {
super(multiProvider);
Expand All @@ -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);
}
Expand Down

0 comments on commit 5aee461

Please sign in to comment.