docs: fix two code snippets (#14123)

There seems to have been some mixup in which snippets to show for these
two cases.

CHANGELOG_BEGIN
CHANGELOG_END
This commit is contained in:
Gary Verhaegen 2022-06-08 15:33:51 +02:00 committed by GitHub
parent 18a6f30dc3
commit 56096652e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -25,8 +25,8 @@ Here is an implementation of a *Coin transfer* without any authorization:
.. literalinclude:: daml/CoinIssuance.daml .. literalinclude:: daml/CoinIssuance.daml
:language: daml :language: daml
:start-after: -- BEGIN_COIN_TEMPLATE_ARCHIVE :start-after: -- BEGIN_COIN_TEMPLATE_TRANSFER
:end-before: -- END_COIN_TEMPLATE_ARCHIVE :end-before: -- END_COIN_TEMPLATE_TRANSFER
This is may be insufficient since the issuer has no means to ensure the newOwner is an accredited company. The following changes fix this deficiency. This is may be insufficient since the issuer has no means to ensure the newOwner is an accredited company. The following changes fix this deficiency.

View File

@ -25,8 +25,8 @@ Implementation
.. literalinclude:: daml/CoinIssuance.daml .. literalinclude:: daml/CoinIssuance.daml
:language: daml :language: daml
:start-after: -- BEGIN_COIN_TEMPLATE_ARCHIVE :start-after: -- BEGIN_COIN_TEMPLATE_TRANSFER
:end-before: -- END_COIN_TEMPLATE_ARCHIVE :end-before: -- END_COIN_TEMPLATE_TRANSFER
Delegation Contract Delegation Contract
- *Principal*, the original coin owner, is the signatory of delegation contract *CoinPoA*. This signatory is required to authorize the *Transfer* choice on *coin*. - *Principal*, the original coin owner, is the signatory of delegation contract *CoinPoA*. This signatory is required to authorize the *Transfer* choice on *coin*.