Skip to content

Commit 5841181

Browse files
committed
AWS & GCP KMS provider fix
1 parent 3c20163 commit 5841181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/account.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export const getAccount = async (args: {
6969
signer = await wallet.getSigner();
7070
}
7171

72-
if (walletDetails.type === WalletType.awsKms) {
72+
if (walletDetails.type !== WalletType.local) {
7373
// Get chain rpc provider.
7474
const chain = await getChain(chainId);
7575
const provider = new providers.JsonRpcProvider(chain.rpc);

0 commit comments

Comments
 (0)