forked from TrueCloudLab/frostfs-contract
[#194] container: Register TLD with contract as owner
When notary disabled, there is no committee multi signature for named container creation. Therefore, zone owner should be the contract itself. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
af1978580c
commit
9350d027cf
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ func registerNiceNameTLD(addrNNS interop.Hash160, nnsRoot string) {
|
|||
}
|
||||
|
||||
res := contract.Call(addrNNS, "register", contract.All,
|
||||
nnsRoot, common.CommitteeAddress(), "ops@nspcc.ru",
|
||||
nnsRoot, runtime.GetExecutingScriptHash(), "ops@nspcc.ru",
|
||||
defaultRefresh, defaultRetry, defaultExpire, defaultTTL).(bool)
|
||||
if !res {
|
||||
panic("can't register NNS TLD")
|
||||
|
|
Loading…
Reference in a new issue