Add @JvmOveloads to TransactionState so the encumbrance pointer doesn't have to always be specified when calling from Java

This commit is contained in:
Andrius Dagys 2017-01-06 10:04:12 +00:00
parent 08047e7d72
commit 6bb0a68d6d

View File

@ -120,7 +120,7 @@ interface ContractState {
* A wrapper for [ContractState] containing additional platform-level state information.
* This is the definitive state that is stored on the ledger and used in transaction outputs.
*/
data class TransactionState<out T : ContractState>(
data class TransactionState<out T : ContractState> @JvmOverloads constructor(
/** The custom contract state */
val data: T,
/** Identity of the notary that ensures the state is not used as an input to a transaction more than once */