forked from TrueCloudLab/frostfs-node
[#520] Update neo-go to pre N3 testnet RC2 compatible version
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
3622e4165a
commit
e1e4a61ba7
4 changed files with 3 additions and 2 deletions
2
go.mod
2
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
|
||||
|
|
BIN
go.sum
BIN
go.sum
Binary file not shown.
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue