Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dkeysil committed Dec 7, 2023
1 parent b521c2a commit c8e5954
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions packages/hardhat-viem/src/internal/contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,11 @@ export async function sendDeploymentTransaction(
contract: GetContractReturnType;
deploymentTransaction: GetTransactionReturnType;
}> {
const {
walletClient: configWalletClient,
publicClient: configPublicClient,
...deployContractParameters
} =
config;
const {
walletClient: configWalletClient,
publicClient: configPublicClient,
...deployContractParameters
} = config;
const [publicClient, walletClient, contractArtifact] = await Promise.all([
configPublicClient ?? getPublicClient(network.provider),
configWalletClient ??
Expand Down

0 comments on commit c8e5954

Please sign in to comment.