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); } } }