forked from TrueCloudLab/frostfs-node
[#404] innerring: Use notary invocations in inner ring
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
83980ccb85
commit
4b10e82685
5 changed files with 12 additions and 12 deletions
|
@ -32,7 +32,7 @@ func RegisterContainer(cli *client.Client, con util.Uint160, p *ContainerParams)
|
|||
return client.ErrNilClient
|
||||
}
|
||||
|
||||
return cli.Invoke(con, 3*extraFee, putContainerMethod,
|
||||
return cli.NotaryInvoke(con, putContainerMethod,
|
||||
p.Container,
|
||||
p.Signature,
|
||||
p.Key.Bytes(),
|
||||
|
@ -45,7 +45,7 @@ func RemoveContainer(cli *client.Client, con util.Uint160, p *RemoveContainerPar
|
|||
return client.ErrNilClient
|
||||
}
|
||||
|
||||
return cli.Invoke(con, extraFee, deleteContainerMethod,
|
||||
return cli.NotaryInvoke(con, deleteContainerMethod,
|
||||
p.ContainerID,
|
||||
p.Signature,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue