forked from TrueCloudLab/frostfs-node
[#845] adm: Relax notary-enabled check
Starting from v0.104.0 `NativeActivations` config field is no longer present and Notary activation height is always 0. https://github.com/nspcc-dev/neo-go/pull/3212/ TrueCloudLab/frostfs-dev-env#59 Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>rpc_not_defined
parent
6bb27f98dd
commit
b892feeaf6
|
@ -519,7 +519,7 @@ func checkNotaryEnabled(c Client) error {
|
||||||
nativeHashes := make(map[string]util.Uint160, len(ns))
|
nativeHashes := make(map[string]util.Uint160, len(ns))
|
||||||
for i := range ns {
|
for i := range ns {
|
||||||
if ns[i].Manifest.Name == nativenames.Notary {
|
if ns[i].Manifest.Name == nativenames.Notary {
|
||||||
notaryEnabled = len(ns[i].UpdateHistory) > 0
|
notaryEnabled = true
|
||||||
}
|
}
|
||||||
nativeHashes[ns[i].Manifest.Name] = ns[i].Hash
|
nativeHashes[ns[i].Manifest.Name] = ns[i].Hash
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue