Skip to content

Commit

Permalink
[chore]: update Burn<Trigger, u32> warning (hyperledger-iroha#409)
Browse files Browse the repository at this point in the history
* [chore]: update `Burn<Trigger, u32>` warning

- Change `tip` to `warning`
- Align the warning with the list item about `Burn`, not the whole list

Signed-off-by: 0x009922 <a.marcius26@gmail.com>

* Update src/guide/blockchain/triggers.md

Co-authored-by: William Richter <88400283+WRRicht3r@users.noreply.github.com>
Signed-off-by: 0x009922 <a.marcius26@gmail.com>

---------

Signed-off-by: 0x009922 <a.marcius26@gmail.com>
Co-authored-by: William Richter <88400283+WRRicht3r@users.noreply.github.com>
  • Loading branch information
0x009922 and WRRicht3r authored Sep 25, 2023
1 parent 8cc468d commit e774cc0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/guide/blockchain/triggers.md
Original file line number Diff line number Diff line change
Expand Up @@ -555,13 +555,13 @@ All Iroha Special Instructions work with triggers, specifically:
- `Burn<Trigger, u32>`: For triggers that repeat a certain number of times,
decrease the number of times that the trigger gets executed.

::: tip
::: warning

If the number provided is greater than the remaining number of repetitions,
the instruction fails to execute, and the transaction that it is part of is
rejected.
If the number provided is greater than the remaining number of repetitions,
the instruction will fail to execute, and the transaction that it is part of will be
rejected.

:::
:::

You can learn more about Iroha Special Instructions in the
[dedicated section](instructions.md).
Expand Down

0 comments on commit e774cc0

Please sign in to comment.