Skip to content

Commit 9fdf793

Browse files
committed
parallelize
1 parent c0c16a8 commit 9fdf793

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/wallets/src/evm/connectors/smart-wallet/lib/erc4337-signer.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,10 @@ Code: ${errorCode}`;
160160
await tx.wait();
161161
}
162162

163-
const chainId = await this.getChainId();
164-
const address = await this.getAddress();
163+
const [chainId, address] = await Promise.all([
164+
this.getChainId(),
165+
this.getAddress(),
166+
]);
165167
const originalMsgHash = utils.hashMessage(message);
166168

167169
let factorySupports712: boolean;

0 commit comments

Comments
 (0)