From 3ab3955213b585b4f1949a14eb982428e50d9261 Mon Sep 17 00:00:00 2001 From: Richard Green Date: Tue, 14 Jun 2016 11:57:55 +0100 Subject: [PATCH] . --- contracts/src/main/kotlin/com/r3corda/contracts/IRS.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/src/main/kotlin/com/r3corda/contracts/IRS.kt b/contracts/src/main/kotlin/com/r3corda/contracts/IRS.kt index 542670e7ca..49bb534a87 100644 --- a/contracts/src/main/kotlin/com/r3corda/contracts/IRS.kt +++ b/contracts/src/main/kotlin/com/r3corda/contracts/IRS.kt @@ -671,7 +671,7 @@ class InterestRateSwap() : Contract { // Create a schedule for the fixed payments for (periodEndDate in dates) { - val paymentDate = BusinessCalendar.getOffsetDate(periodEndDate, Frequency.Daily, fixedLeg.paymentDelay) // + fixedLeg.paymentDelay + val paymentDate = BusinessCalendar.getOffsetDate(periodEndDate, Frequency.Daily, fixedLeg.paymentDelay) val paymentEvent = FixedRatePaymentEvent( paymentDate, periodStartDate, @@ -696,7 +696,7 @@ class InterestRateSwap() : Contract { // Now create a schedule for the floating and fixes. for (periodEndDate in dates) { - val paymentDate = BusinessCalendar.getOffsetDate(periodEndDate, Frequency.Daily, floatingLeg.paymentDelay) // + fixedLeg.paymentDelay + val paymentDate = BusinessCalendar.getOffsetDate(periodEndDate, Frequency.Daily, floatingLeg.paymentDelay) val paymentEvent = FloatingRatePaymentEvent( paymentDate, periodStartDate,