[#1] container: Update domain email after rebranding

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
Alexey Vanin 2023-05-17 10:51:10 +03:00
parent 8d17306c3c
commit e11dfc84af

View file

@ -157,7 +157,7 @@ func registerNiceNameTLD(addrNNS interop.Hash160, nnsRoot string) {
} }
res := contract.Call(addrNNS, "register", contract.All, res := contract.Call(addrNNS, "register", contract.All,
nnsRoot, runtime.GetExecutingScriptHash(), "ops@nspcc.ru", nnsRoot, runtime.GetExecutingScriptHash(), "ops@frostfs.info",
defaultRefresh, defaultRetry, defaultExpire, defaultTTL).(bool) defaultRefresh, defaultRetry, defaultExpire, defaultTTL).(bool)
if !res { if !res {
panic("can't register NNS TLD") panic("can't register NNS TLD")
@ -257,7 +257,7 @@ func PutNamed(container []byte, signature interop.Signature,
if name != "" { if name != "" {
if needRegister { if needRegister {
res := contract.Call(nnsContractAddr, "register", contract.All, res := contract.Call(nnsContractAddr, "register", contract.All,
domain, runtime.GetExecutingScriptHash(), "ops@nspcc.ru", domain, runtime.GetExecutingScriptHash(), "ops@frostfs.info",
defaultRefresh, defaultRetry, defaultExpire, defaultTTL).(bool) defaultRefresh, defaultRetry, defaultExpire, defaultTTL).(bool)
if !res { if !res {
panic("can't register the domain " + domain) panic("can't register the domain " + domain)