mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
Add @JvmOveloads to TransactionState so the encumbrance pointer doesn't have to always be specified when calling from Java
This commit is contained in:
parent
08047e7d72
commit
6bb0a68d6d
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user