forked from TrueCloudLab/frostfs-contract
[#109] alphabet: Do not check proxy
len if notary disabled
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
a0db77247e
commit
5a95c8e3cf
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ func _deploy(data interface{}, isUpdate bool) {
|
||||||
panic("only owner can reinitialize contract")
|
panic("only owner can reinitialize contract")
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(addrNetmap) != 20 || len(addrProxy) != 20 {
|
if len(addrNetmap) != 20 || !notaryDisabled && len(addrProxy) != 20 {
|
||||||
panic("incorrect length of contract script hash")
|
panic("incorrect length of contract script hash")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue