[#1141] morph/client: Allow to use more integer types as arguments
Also, use `*big.Int` as integer value, see nspcc-dev/neo-go#2413. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
1c7195666c
commit
1e8391d216
12 changed files with 30 additions and 16 deletions
|
@ -42,7 +42,7 @@ func (c *Client) Put(p PutPrm) error {
|
|||
|
||||
prm := client.InvokePrm{}
|
||||
prm.SetMethod(putMethod)
|
||||
prm.SetArgs(int64(p.epoch), p.peerID.ToV2().GetPublicKey(), data)
|
||||
prm.SetArgs(p.epoch, p.peerID.ToV2().GetPublicKey(), data)
|
||||
|
||||
err = c.client.Invoke(prm)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue