From 9f049af24a4eea3c9db3ecb5b1966feedb31e252 Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Wed, 22 Sep 2021 13:55:08 +0200 Subject: [PATCH] Don't use short address for formatOrg Signed-off-by: Alexis Sellier --- src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.ts b/src/utils.ts index 174ee23e1..77f89b536 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -78,7 +78,7 @@ export function formatNetwork(input: { name: string }): string { export function formatOrg(input: string, config: Config): string { if (isAddress(input)) { - return formatAddress(input); + return ethers.utils.getAddress(input); } else { return parseEnsLabel(input, config); }