[#74] proxy: Fix typo

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-04-20 17:45:22 +03:00 committed by Alex Vanin
parent 5372329d49
commit b387171187

View file

@ -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")
}
}