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
|
@ -37,7 +37,7 @@ func Mint(cli *client.Client, con util.Uint160, p *MintBurnParams) error {
|
|||
return client.ErrNilClient
|
||||
}
|
||||
|
||||
return cli.Invoke(con, extraFee, mintMethod,
|
||||
return cli.NotaryInvoke(con, mintMethod,
|
||||
p.ScriptHash,
|
||||
p.Amount,
|
||||
p.Comment,
|
||||
|
@ -50,7 +50,7 @@ func Burn(cli *client.Client, con util.Uint160, p *MintBurnParams) error {
|
|||
return client.ErrNilClient
|
||||
}
|
||||
|
||||
return cli.Invoke(con, extraFee, burnMethod,
|
||||
return cli.NotaryInvoke(con, burnMethod,
|
||||
p.ScriptHash,
|
||||
p.Amount,
|
||||
p.Comment,
|
||||
|
@ -63,7 +63,7 @@ func LockAsset(cli *client.Client, con util.Uint160, p *LockParams) error {
|
|||
return client.ErrNilClient
|
||||
}
|
||||
|
||||
return cli.Invoke(con, extraFee, lockMethod,
|
||||
return cli.NotaryInvoke(con, lockMethod,
|
||||
p.ID,
|
||||
p.User.BytesBE(),
|
||||
p.LockAccount.BytesBE(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue