Contract tutorial update and Contributors list update (#5338)

This commit is contained in:
Manish Kumar 2019-07-30 19:21:34 +05:30 committed by josecoll
parent 9bf26c20e0
commit 85ebac77bf
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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