Skip to content

Commit

Permalink
Update src/neo/SmartContract/Native/Tokens/Nep17Token.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Luchuan <[email protected]>
  • Loading branch information
erikzhang and Tommo-L authored Nov 18, 2020
1 parent 06517a5 commit d33ff2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neo/SmartContract/Native/Tokens/Nep17Token.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

0 comments on commit d33ff2f

Please sign in to comment.