[#152] Use ID in SetConfig contract method invocation.
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
7c1776a281
commit
9f8eb0fd51
2 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,7 @@ type (
|
|||
}
|
||||
|
||||
SetConfigArgs struct {
|
||||
ID []byte
|
||||
Key []byte
|
||||
Value []byte
|
||||
}
|
||||
|
@ -90,6 +91,7 @@ func SetConfig(cli *client.Client, con util.Uint160, args *SetConfigArgs) error
|
|||
}
|
||||
|
||||
return cli.Invoke(con, extraFee, setConfigMethod,
|
||||
args.ID,
|
||||
args.Key,
|
||||
args.Value,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue