Skip to content

Commit 57e767f

Browse files
authored
Apply suggestion from @briandoyle81
1 parent e07024f commit 57e767f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/blockchain-development-tutorials/native-vrf/commit-reveal-cadence.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,15 @@ Similarly to revertible randomness, Commit-Reveal inherits the security of Flow
7474

7575
In addition, commit-reveal patterns solve the issue of revertible randoms:
7676

77-
- Prevents user manipulation - Players cannot simulate an outcome and choose to revert the transaction if they do not like the result.
77+
- Prevents user manipulation - Players cannot evaluate the outcome and choose to revert the transaction if they do not like the result.
78+
-
79+
80+
81+
:::info
82+
83+
One of the powers of Cadence transactions is that a developer can set post-conditions that must be true, or the transaction will revert. This is very useful for scenarios such as guaranteeing a user receives their purchase in a complex and multi-step transaction, but it also means that they can set conditions to reject the transaction. In an instant-win lottery, this would allow users to test large numbers of tickets for a win without paying the purchase price.
84+
85+
:::
7886

7987
## Build the Coin Toss contract
8088

0 commit comments

Comments
 (0)