From 216f6e3f0d86c8d94184023533f05de0d543d692 Mon Sep 17 00:00:00 2001 From: Sophia Date: Fri, 13 Sep 2024 13:32:33 -0400 Subject: [PATCH] Fix pool creation by remove interest rate from junior (residual) tranche (#2452) --- centrifuge-app/src/pages/IssuerCreatePool/index.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/centrifuge-app/src/pages/IssuerCreatePool/index.tsx b/centrifuge-app/src/pages/IssuerCreatePool/index.tsx index bbc0fe2b09..621964b277 100644 --- a/centrifuge-app/src/pages/IssuerCreatePool/index.tsx +++ b/centrifuge-app/src/pages/IssuerCreatePool/index.tsx @@ -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),