From de22faa93557af2de16b9f7b199d54fd7e9056c2 Mon Sep 17 00:00:00 2001 From: Shargon Date: Wed, 8 Jun 2022 16:42:43 +0200 Subject: [PATCH] Update nep-11.mediawiki --- nep-11.mediawiki | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nep-11.mediawiki b/nep-11.mediawiki index 663d5b6c..c0ab018e 100644 --- a/nep-11.mediawiki +++ b/nep-11.mediawiki @@ -232,8 +232,7 @@ If the method succeeds, it MUST fire the Transfer event, and MUST r If the receiver is a deployed contract, the function MUST call onNEP11Payment method on receiver contract with the data parameter from transfer AFTER firing the Transfer event. -The function SHOULD check whether the from address equals the caller contract hash. -If so, the transfer SHOULD be processed; If not, the function SHOULD use the SYSCALL Neo.Runtime.CheckWitness to verify the transfer. +The function SHOULD verify the from address using the SYSCALL Neo.Runtime.CheckWitness. If the transfer is not processed, the function SHOULD return false.