From 37f30619583ad2234f5db12208182d4c0bb0be37 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Mon, 18 Apr 2016 18:01:03 +0200 Subject: [PATCH] Minor: add a TODO to SignedTransaction indicating that the sandboxing/attachments based ClassLoader isn't actually used yet --- core/src/main/kotlin/core/Transactions.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/main/kotlin/core/Transactions.kt b/core/src/main/kotlin/core/Transactions.kt index 1ee8dac21a..24a0efafec 100644 --- a/core/src/main/kotlin/core/Transactions.kt +++ b/core/src/main/kotlin/core/Transactions.kt @@ -102,6 +102,8 @@ data class SignedTransaction(val txBits: SerializedBytes, check(sigs.isNotEmpty()) } + // TODO: This needs to be reworked to ensure that the inner WireTransaction is only ever deserialised sandboxed. + /** Lazily calculated access to the deserialised/hashed transaction data. */ val tx: WireTransaction by lazy { WireTransaction.deserialize(txBits) }