[#181] container: setup nns keys during update

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2021-11-26 10:47:51 +03:00 committed by Alex Vanin
parent 293ca36ff4
commit f0868c89fd

View file

@ -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
}