Skip to content

Commit

Permalink
Fix pool creation by remove interest rate from junior (residual) tran…
Browse files Browse the repository at this point in the history
…che (#2452)
  • Loading branch information
sophialittlejohn authored Sep 13, 2024
1 parent 626f373 commit 216f6e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions centrifuge-app/src/pages/IssuerCreatePool/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -465,9 +465,7 @@ function CreatePoolForm() {

const nonJuniorTranches = metadataValues.tranches.slice(1)
const tranches = [
{
interestRatePerSec: Rate.fromAprPercent(values.tranches[0].interestRate),
},
{},
...nonJuniorTranches.map((tranche) => ({
interestRatePerSec: Rate.fromAprPercent(tranche.interestRate),
minRiskBuffer: Perquintill.fromPercent(tranche.minRiskBuffer),
Expand Down

0 comments on commit 216f6e3

Please sign in to comment.