forked from TrueCloudLab/frostfs-contract
[#181] container: setup nns keys during update
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
293ca36ff4
commit
f0868c89fd
1 changed files with 2 additions and 0 deletions
|
@ -92,6 +92,8 @@ func _deploy(data interface{}, isUpdate bool) {
|
|||
nnsRoot := args[5].(string)
|
||||
|
||||
if isUpdate {
|
||||
storage.Put(ctx, nnsContractKey, addrNNS)
|
||||
storage.Put(ctx, nnsRootKey, nnsRoot)
|
||||
registerNiceNameTLD(addrNNS, nnsRoot)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue