mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
Fix warning for lambda. (#3438)
This commit is contained in:
parent
06d27b57c1
commit
14810f25de
@ -19,7 +19,7 @@ class TransactionVerificationRequest(val wtxToVerify: SerializedBytes<WireTransa
|
|||||||
val deps = dependencies.map { it.deserialize() }.associateBy(WireTransaction::id)
|
val deps = dependencies.map { it.deserialize() }.associateBy(WireTransaction::id)
|
||||||
val attachments = attachments.map { it.deserialize<Attachment>() }
|
val attachments = attachments.map { it.deserialize<Attachment>() }
|
||||||
val attachmentMap = attachments.mapNotNull { it as? MockContractAttachment }
|
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<ContractClassName, ContractAttachment>()
|
val contractAttachmentMap = emptyMap<ContractClassName, ContractAttachment>()
|
||||||
@Suppress("DEPRECATION")
|
@Suppress("DEPRECATION")
|
||||||
return wtxToVerify.deserialize().toLedgerTransaction(
|
return wtxToVerify.deserialize().toLedgerTransaction(
|
||||||
|
Loading…
Reference in New Issue
Block a user