native: rename onPayment into onNEP17Payment

Follow neo-project/neo#2287.
This commit is contained in:
Roman Khimov 2021-02-05 16:09:51 +03:00
parent b1977ea4e3
commit a442e1530d
6 changed files with 7 additions and 7 deletions

View file

@ -456,7 +456,7 @@ func getTestContractState(bc *Blockchain) (*state.Contract, *state.Contract) {
ReturnType: smartcontract.VoidType,
},
{
Name: "onPayment",
Name: manifest.MethodOnNEP17Payment,
Offset: onPaymentOff,
Parameters: []manifest.Parameter{
manifest.NewParameter("from", smartcontract.Hash160Type),