[#152] Use ID in SetConfig contract method invocation.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-11-05 16:41:44 +03:00 committed by Alex Vanin
parent 7c1776a281
commit 9f8eb0fd51
2 changed files with 3 additions and 0 deletions

View file

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