forked from TrueCloudLab/frostfs-contract
[#164] *: provide version as the last argument
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
99c81fe26a
commit
da7f7eb88f
12 changed files with 60 additions and 13 deletions
|
@ -56,7 +56,8 @@ func Update(script []byte, manifest []byte, data interface{}) {
|
|||
panic("only side chain committee can update contract")
|
||||
}
|
||||
|
||||
contract.Call(interop.Hash160(management.Hash), "update", contract.All, script, manifest, data)
|
||||
contract.Call(interop.Hash160(management.Hash), "update",
|
||||
contract.All, script, manifest, common.AppendVersion(data))
|
||||
runtime.Log("processing contract updated")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue