diff --git a/src/utils/pledges.js b/src/utils/pledges.js index da5fe7b..8d4af57 100644 --- a/src/utils/pledges.js +++ b/src/utils/pledges.js @@ -8,7 +8,7 @@ const getPledgeDelegates = (idPledge, numDelegates) => { const delegates = [] const num = Number(numDelegates) if (!num) return delegates - for (let i = 1; i < num; i++) { + for (let i = 1; i <= num; i++) { delegates.push(getPledgeDelegate(idPledge, i).call()) } return Promise.all(delegates)