From e1e4a61ba70f46edf3ea44e8f6b184d6fc238d94 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Thu, 13 May 2021 11:14:51 +0300 Subject: [PATCH] [#520] Update neo-go to pre N3 testnet RC2 compatible version Signed-off-by: Alex Vanin --- go.mod | 2 +- go.sum | Bin 60225 -> 60419 bytes pkg/morph/client/client.go | 2 +- pkg/morph/client/notary.go | 1 + 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 106a1f43..a3aac66f 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,7 @@ require ( github.com/multiformats/go-multiaddr-net v0.1.2 // v0.1.1 => v0.1.2 github.com/multiformats/go-multihash v0.0.13 // indirect github.com/nspcc-dev/hrw v1.0.9 - github.com/nspcc-dev/neo-go v0.94.1 + github.com/nspcc-dev/neo-go v0.94.2-pre.0.20210514140956-2cb878cb7a0f github.com/nspcc-dev/neofs-api-go v1.26.0 github.com/nspcc-dev/neofs-crypto v0.3.0 github.com/nspcc-dev/tzhash v1.4.0 diff --git a/go.sum b/go.sum index bfd4228b475854cf949e7dd5d3e46765c6c4916e..4e82a594e6e768f4dcff7c3491752d61349c8ea3 100644 GIT binary patch delta 335 zcma*iu}*_P0D$44TL%+YT{^k|cL&^26PKDQmSQcYrMi{7g95fk?||UsVB+M)irfM=nMQ`{`arW^LOX%B@2*NNUj4N0R({!EogzhjWt9ghd4AMOAz-~@N`sy zI{R;^{s2JAYV`mB delta 140 zcmZp^!F=!<^MCoY%=A1H~^!(G7bO$ diff --git a/pkg/morph/client/client.go b/pkg/morph/client/client.go index c7bdf462..8fe09f61 100644 --- a/pkg/morph/client/client.go +++ b/pkg/morph/client/client.go @@ -155,7 +155,7 @@ func (c *Client) TestInvoke(contract util.Uint160, method string, args ...interf // TransferGas to the receiver from local wallet func (c *Client) TransferGas(receiver util.Uint160, amount fixedn.Fixed8) error { - txHash, err := c.client.TransferNEP17(c.acc, receiver, c.gas, int64(amount), 0, nil) + txHash, err := c.client.TransferNEP17(c.acc, receiver, c.gas, int64(amount), 0, nil, nil) if err != nil { return err } diff --git a/pkg/morph/client/notary.go b/pkg/morph/client/notary.go index 2d03fe43..cb55995c 100644 --- a/pkg/morph/client/notary.go +++ b/pkg/morph/client/notary.go @@ -120,6 +120,7 @@ func (c *Client) DepositNotary(amount fixedn.Fixed8, delta uint32) (util.Uint256 int64(amount), 0, []interface{}{c.acc.PrivateKey().GetScriptHash(), int64(bc + delta)}, + nil, ) if err != nil { return util.Uint256{}, errors.Wrap(err, "can't make notary deposit")