[#185] *: Use neo-go's interop constants instead of local

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2021-11-29 19:43:01 +03:00 committed by Alex Vanin
parent f78a0e32b8
commit 23d9799e51
10 changed files with 21 additions and 21 deletions

View file

@ -37,7 +37,7 @@ func _deploy(data interface{}, isUpdate bool) {
ctx := storage.GetContext()
if len(args.addrNeoFS) != 20 {
if len(args.addrNeoFS) != interop.Hash160Len {
panic("incorrect length of contract script hash")
}