mirror of
https://github.com/corda/corda.git
synced 2025-04-07 11:27:01 +00:00
Update using-a-notary.rst
This commit is contained in:
parent
7ec5bd789e
commit
314a88e13a
@ -86,7 +86,7 @@ we just use a helper that handles it for us. We also assume that we already have
|
||||
|
||||
.. sourcecode:: kotlin
|
||||
|
||||
val inputState = StateAndRef(sate, stateRef)
|
||||
val inputState = StateAndRef(state, stateRef)
|
||||
val moveTransactionBuilder = DummyContract.withNewOwnerAndAmount(inputState, newOwner = aliceParty.owningKey)
|
||||
|
||||
The ``DummyContract.withNewOwnerAndAmount()`` method will a new transaction builder with our old state as the input, a new state
|
||||
|
Loading…
x
Reference in New Issue
Block a user