Skip to content

Commit

Permalink
Don't return awaited promise in getUnnamedSigner
Browse files Browse the repository at this point in the history
Fix `@typescript-eslint/return-await` error returned by eslint.
  • Loading branch information
nkuba committed Dec 13, 2023
1 parent e21a50b commit 2831ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/test/helpers/signer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ export async function getNamedSigner(): Promise<{
export async function getUnnamedSigner(): Promise<HardhatEthersSigner[]> {
const accounts = await getUnnamedAccounts()

return await Promise.all(accounts.map(ethers.getSigner))
return Promise.all(accounts.map(ethers.getSigner))
}

0 comments on commit 2831ef6

Please sign in to comment.