forked from TrueCloudLab/frostfs-contract
[#1] container: Update domain email after rebranding
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
parent
8d17306c3c
commit
e11dfc84af
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue