Skip to content

Commit

Permalink
docs: add the onlyBuyer modifier in function confirmPurchase()
Browse files Browse the repository at this point in the history
in the function confirmPurchase(), the annotation said 'Confirm the purchase as buyer.' but it doesn't add the `onlyBuyer` modifier
  • Loading branch information
DestinyWei authored and mehtavishwa30 committed Aug 19, 2024
1 parent 98b22f8 commit 3b532e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/examples/safe-remote.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ you can use state machine-like constructs inside a contract.
/// is called.
function confirmPurchase()
external
onlyBuyer
inState(State.Created)
condition(msg.value == (2 * value))
payable
Expand Down

0 comments on commit 3b532e4

Please sign in to comment.