forked from TrueCloudLab/frostfs-contract
[#185] *: Use neo-go's interop
constants instead of local
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
f78a0e32b8
commit
23d9799e51
10 changed files with 21 additions and 21 deletions
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue