diff --git a/src/utils/delegation.ts b/src/utils/delegation.ts index f38a02e42..b48a34665 100644 --- a/src/utils/delegation.ts +++ b/src/utils/delegation.ts @@ -5,7 +5,7 @@ const DELEGATION_DATA_CACHE = {}; // delegations with overrides export async function getDelegations(space, network, addresses, snapshot) { - const addressesLc = addresses.map((addresses) => addresses.toLowerCase()); + const addressesLc = addresses.map((address) => address.toLowerCase()); const delegatesBySpace = await getDelegatesBySpace(network, space, snapshot); const delegations = delegatesBySpace.filter(