From 79a044236b870d87ccdaa3700747a52afbe02f13 Mon Sep 17 00:00:00 2001 From: Howe <69898694+DestinyWei@users.noreply.github.com> Date: Sun, 22 Oct 2023 22:03:45 +0800 Subject: [PATCH] docs: add the onlyBuyer modifier in function confirmPurchase() in the function confirmPurchase(), the annotation said 'Confirm the purchase as buyer.' but it doesn't add the `onlyBuyer` modifier --- docs/examples/safe-remote.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/examples/safe-remote.rst b/docs/examples/safe-remote.rst index a2651af23882..065aabdd9b6a 100644 --- a/docs/examples/safe-remote.rst +++ b/docs/examples/safe-remote.rst @@ -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