diff --git a/src/contracts/Cash.kt b/src/contracts/Cash.kt index 47f196bb18..999f5c1aa6 100644 --- a/src/contracts/Cash.kt +++ b/src/contracts/Cash.kt @@ -55,7 +55,10 @@ object Cash : Contract { override fun hashCode() = 0 } - /** A command stating that money has been withdrawn from the shared ledger and is now accounted for in some other way */ + /** + * A command stating that money has been withdrawn from the shared ledger and is now accounted for + * in some other way. + */ class Exit(val amount: Amount) : Command { override fun equals(other: Any?) = other is Exit && other.amount == amount override fun hashCode() = amount.hashCode() diff --git a/src/core/Structures.kt b/src/core/Structures.kt index 92f0759545..a82ad85ec7 100644 --- a/src/core/Structures.kt +++ b/src/core/Structures.kt @@ -61,7 +61,7 @@ data class SignedCommand( /** Obtained from a [SignedCommand], deserialised and signature checked */ data class VerifiedSigned( val signers: List, - /** If the public key was recognised, the looked up institution is available here, otherwise it's null */ + /** If any public keys were recognised, the looked up institutions are available here */ val signingInstitutions: List, val value: T ) diff --git a/src/core/Transactions.kt b/src/core/Transactions.kt index ad1cebd3b4..227042531d 100644 --- a/src/core/Transactions.kt +++ b/src/core/Transactions.kt @@ -30,6 +30,8 @@ class LedgerTransaction( val args: List, /** The moment the transaction was timestamped for */ val time: Instant + + // TODO: nLockTime equivalent? ) /** A transaction in fully resolved form, ready for passing as input to a verification function */