mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
Contract tutorial update and Contributors list update (#5338)
This commit is contained in:
parent
9bf26c20e0
commit
85ebac77bf
@ -150,6 +150,7 @@ see changes to this list.
|
||||
* Milen Dobrinov (Industria)
|
||||
* Mohamed Amine LEGHERABA
|
||||
* Mustafa Ozturk (Natixis)
|
||||
* Manish Kumar (ChainThat)
|
||||
* Nick Skinner (Northern Trust)
|
||||
* Nigel King (R3)
|
||||
* Nitesh Solanki (Persistent Systems Limited)
|
||||
|
@ -346,7 +346,7 @@ the owner.
|
||||
|
||||
To calculate how much cash is moving, we use the ``sumCashBy`` utility function. Again, this is an extension function,
|
||||
so in Kotlin code it appears as if it was a method on the ``List<Cash.State>`` type even though JDK provides no such
|
||||
method. In Java we see its true nature: it is actually a static method named ``CashKt.sumCashBy``. This method simply
|
||||
method. In Java we see its true nature: it is actually a static method named ``StateSumming.sumCashBy``. This method simply
|
||||
returns an ``Amount`` object containing the sum of all the cash states in the transaction outputs that are owned by
|
||||
that given public key, or throws an exception if there were no such states *or* if there were different currencies
|
||||
represented in the outputs! So we can see that this contract imposes a limitation on the structure of a redemption
|
||||
|
Loading…
Reference in New Issue
Block a user