From 5c1eac957e9588cc94697e97584e6cc1dc55baf6 Mon Sep 17 00:00:00 2001 From: Kevin Halliday Date: Tue, 27 Feb 2024 09:59:27 -0500 Subject: [PATCH] fix(docs): update outdated code snippet --- docs/site/docs/develop/contracts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/site/docs/develop/contracts.md b/docs/site/docs/develop/contracts.md index 757ed185f..eace23d71 100644 --- a/docs/site/docs/develop/contracts.md +++ b/docs/site/docs/develop/contracts.md @@ -129,7 +129,7 @@ contract XApp { XTypes.Msg internal xmsg; /// @dev Read current xmsg into storage before execution, delete it afterwards - modifier xfunc() { + modifier xrecv() { xmsg = omni.xmsg(); _; delete xmsg;