From 14810f25de5bfef44523e57f17d20e636d50f18a Mon Sep 17 00:00:00 2001 From: Chris Rankin Date: Tue, 26 Jun 2018 10:44:08 +0100 Subject: [PATCH] Fix warning for lambda. (#3438) --- .../deterministic/common/TransactionVerificationRequest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-deterministic/testing/common/src/main/kotlin/net/corda/deterministic/common/TransactionVerificationRequest.kt b/core-deterministic/testing/common/src/main/kotlin/net/corda/deterministic/common/TransactionVerificationRequest.kt index fb3743688d..247e15c464 100644 --- a/core-deterministic/testing/common/src/main/kotlin/net/corda/deterministic/common/TransactionVerificationRequest.kt +++ b/core-deterministic/testing/common/src/main/kotlin/net/corda/deterministic/common/TransactionVerificationRequest.kt @@ -19,7 +19,7 @@ class TransactionVerificationRequest(val wtxToVerify: SerializedBytes() } val attachmentMap = attachments.mapNotNull { it as? MockContractAttachment } - .associateBy(Attachment::id, { ContractAttachment(it, it.contract, uploader=TEST_UPLOADER) }) + .associateBy(Attachment::id) { ContractAttachment(it, it.contract, uploader=TEST_UPLOADER) } val contractAttachmentMap = emptyMap() @Suppress("DEPRECATION") return wtxToVerify.deserialize().toLedgerTransaction(