Skip to content

Commit

Permalink
Update book/src/programmability/hot-potato-pattern.md
Browse files Browse the repository at this point in the history
Co-authored-by: Ashok Menon <[email protected]>
  • Loading branch information
damirka and amnn authored Jul 24, 2024
1 parent 9b9671f commit a95dac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/programmability/hot-potato-pattern.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ transfer::public_transfer(proceeds, ctx.sender());
The hot potato pattern can be used to introduce variation in the execution path. For example, if
there is a module which allows purchasing a `Phone` for some "Bonus Points" or for USD, the hot
potato can be used to decouple the purchase from the payment. The approach is very similar to how
some of the shops work - you take the item from the shelf, and then you go to the cashier to pay for
some shops work - you take the item from the shelf, and then you go to the cashier to pay for
it.

```move
Expand Down

0 comments on commit a95dac4

Please sign in to comment.