[#1056] neofs-adm: deploy proxy contract without arguments

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2021-12-30 10:45:48 +03:00 committed by Alex Vanin
parent 185a2827cc
commit 56b8793520

View file

@ -569,9 +569,7 @@ func (c *initializeContext) getContractDeployData(ctrName string, keysParam []sm
newContractParameter(smartcontract.ArrayType, keysParam), newContractParameter(smartcontract.ArrayType, keysParam),
newContractParameter(smartcontract.ArrayType, configParam)) newContractParameter(smartcontract.ArrayType, configParam))
case proxyContract: case proxyContract:
items = []smartcontract.Parameter{ items = nil
newContractParameter(smartcontract.Hash160Type, c.Contracts[netmapContract].Hash),
}
case reputationContract: case reputationContract:
case subnetContract: case subnetContract:
default: default: