[#404] innerring: Use notary invocations in inner ring

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-02-25 19:53:00 +03:00 committed by Alex Vanin
parent 83980ccb85
commit 4b10e82685
5 changed files with 12 additions and 12 deletions

View file

@ -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,
)