[#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

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