parent
5372329d49
commit
b387171187
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ const (
|
|||
func OnNEP17Payment(from interop.Hash160, amount int, data interface{}) {
|
||||
caller := runtime.GetCallingScriptHash()
|
||||
if !common.BytesEqual(caller, []byte(gas.Hash)) {
|
||||
panic("onNEP17Payment: alphabet contract accepts GAS only")
|
||||
panic("onNEP17Payment: proxy contract accepts GAS only")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue