From 4e884a551986e9f499891091a3ff301bb17fc091 Mon Sep 17 00:00:00 2001 From: "rick.parker" Date: Fri, 1 Nov 2024 11:41:48 +0000 Subject: [PATCH] ENT-12366 Fix compiler warnings --- .../corda/core/transactions/ContractUpgradeTransactions.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/kotlin/net/corda/core/transactions/ContractUpgradeTransactions.kt b/core/src/main/kotlin/net/corda/core/transactions/ContractUpgradeTransactions.kt index dec8e61a07..3975d0d258 100644 --- a/core/src/main/kotlin/net/corda/core/transactions/ContractUpgradeTransactions.kt +++ b/core/src/main/kotlin/net/corda/core/transactions/ContractUpgradeTransactions.kt @@ -305,8 +305,8 @@ private constructor( ContractUpgradeLedgerTransaction( inputs, wtx.notary, - legacyContractAttachment ?: throw AttachmentResolutionException(wtx.legacyContractAttachmentId), - upgradedContractAttachment ?: throw AttachmentResolutionException(wtx.upgradedContractAttachmentId), + legacyContractAttachment, + upgradedContractAttachment, wtx.id, wtx.privacySalt, sigs,