From d33ff2f660b5fa6b4d595db42d799caef123853e Mon Sep 17 00:00:00 2001 From: Erik Zhang Date: Wed, 18 Nov 2020 16:19:06 +0800 Subject: [PATCH] Update src/neo/SmartContract/Native/Tokens/Nep17Token.cs Co-authored-by: Luchuan --- src/neo/SmartContract/Native/Tokens/Nep17Token.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neo/SmartContract/Native/Tokens/Nep17Token.cs b/src/neo/SmartContract/Native/Tokens/Nep17Token.cs index ce952cf351..2b0fcdc6c4 100644 --- a/src/neo/SmartContract/Native/Tokens/Nep17Token.cs +++ b/src/neo/SmartContract/Native/Tokens/Nep17Token.cs @@ -164,7 +164,7 @@ private void PostTransfer(ApplicationEngine engine, UInt160 from, UInt160 to, Bi // Call onPayment method if exists (NEP-17) - engine.CallFromNativeContract(() => { }, to, "onPayment", amount); + engine.CallFromNativeContract(() => { }, to, "onPayment", from, amount); } } }