Minor: add a TODO to SignedTransaction indicating that the sandboxing/attachments based ClassLoader isn't actually used yet

This commit is contained in:
Mike Hearn 2016-04-18 18:01:03 +02:00
parent 800151b774
commit 37f3061958

View File

@ -102,6 +102,8 @@ data class SignedTransaction(val txBits: SerializedBytes<WireTransaction>,
check(sigs.isNotEmpty()) 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. */ /** Lazily calculated access to the deserialised/hashed transaction data. */
val tx: WireTransaction by lazy { WireTransaction.deserialize(txBits) } val tx: WireTransaction by lazy { WireTransaction.deserialize(txBits) }