native: rename onPayment into onNEP17Payment
Follow neo-project/neo#2287.
This commit is contained in:
parent
b1977ea4e3
commit
a442e1530d
6 changed files with 7 additions and 7 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue