[#181] container: setup nns keys during update

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
enable-notary-in-public-chains
Evgenii Stratonikov 2021-11-26 10:47:51 +03:00 committed by Alex Vanin
parent 293ca36ff4
commit f0868c89fd
1 changed files with 2 additions and 0 deletions

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
}