forked from TrueCloudLab/frostfs-node
[#836] neofs-adm: Fix proxy contract deploy arguments
Proxy contract does not include notary flag because contract is useless without notary subsystem. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
4c30757439
commit
3e5c7e0ade
1 changed files with 3 additions and 1 deletions
|
@ -344,7 +344,9 @@ func (c *initializeContext) getContractDeployData(ctrName string, keysParam []sm
|
|||
newContractParameter(smartcontract.ArrayType, keysParam),
|
||||
newContractParameter(smartcontract.ArrayType, configParam))
|
||||
case proxyContract:
|
||||
items = append(items, newContractParameter(smartcontract.Hash160Type, c.Contracts[netmapContract].Hash))
|
||||
items = []smartcontract.Parameter{
|
||||
newContractParameter(smartcontract.Hash160Type, c.Contracts[netmapContract].Hash),
|
||||
}
|
||||
case reputationContract:
|
||||
default:
|
||||
panic(fmt.Sprintf("invalid contract name: %s", ctrName))
|
||||
|
|
Loading…
Reference in a new issue