Skip to content

Commit

Permalink
Remove condition that we no longer expect.
Browse files Browse the repository at this point in the history
  • Loading branch information
ihinsdale committed Apr 19, 2022
1 parent 2e15453 commit d0c87df
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,6 @@ export async function main() {
const principalDeposited = trancheInfo.principalDeposited
const remaining = principalSharePrice.mul(principalDeposited).div(String(1e18))
const backerCapitalDrawndown = principalDeposited.sub(remaining)
if (!backerCapitalDrawndown.eq(principalDeposited)) {
throw new Error(`Expected all principal to have been drawndown.`)
}

const fiduSharePriceAtDrawdown = (await seniorPool.sharePrice({blockTag: lastDrawdownBlock})).toString()
const accumulatedRewardsPerToken = (
Expand Down

0 comments on commit d0c87df

Please sign in to comment.