mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
Fix typo in contract tutorial (#4480)
This commit is contained in:
parent
33670d62b1
commit
bbbe08ab1b
@ -154,7 +154,7 @@ simple: it's given a class representing the transaction, and if the function ret
|
|||||||
acceptable. If it throws an exception, the transaction is rejected.
|
acceptable. If it throws an exception, the transaction is rejected.
|
||||||
|
|
||||||
Each transaction can have multiple input and output states of different types. The set of contracts to run is decided
|
Each transaction can have multiple input and output states of different types. The set of contracts to run is decided
|
||||||
by taking the code references inside each state. Each contract is run only once. As an example, a contract that includes
|
by taking the code references inside each state. Each contract is run only once. As an example, a transaction that includes
|
||||||
2 cash states and 1 commercial paper state as input, and has as output 1 cash state and 1 commercial paper state, will
|
2 cash states and 1 commercial paper state as input, and has as output 1 cash state and 1 commercial paper state, will
|
||||||
run two contracts one time each: Cash and CommercialPaper.
|
run two contracts one time each: Cash and CommercialPaper.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user