forked from TrueCloudLab/frostfs-node
[#984] neofs-adm: fix contract hash check in NNS
Don't update if the hash is already there. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
7765ab3f02
commit
98f288c946
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ func (c *initializeContext) nnsRegisterDomain(nnsHash, expectedHash util.Uint160
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if s != expectedHash {
|
||||
if s == expectedHash {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue