Skip to content

Commit

Permalink
Gotez updated
Browse files Browse the repository at this point in the history
  • Loading branch information
e-asphyx committed May 23, 2024
1 parent 631031b commit 4f3d77d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions charger/charger.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ func (c *Charger) ChargeKeys(ctx context.Context, keys []uint64) error {
}
ops = append(ops, &tx)
}
hash, err := tezTool.FillSignAndInject(ctx, signer, ops, true, teztool.FillAll)
grp, err := tezTool.FillSignAndInjectWait(ctx, signer, ops, client.MetadataNever, teztool.FillAll)
if err != nil {
log.Error(err)
return err
}
log.WithField("hash", hash).Info("Injected")
log.WithField("hash", grp.GetHash()).Info("Injected")
}
return nil
}
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/davecgh/go-spew v1.1.1
github.com/ecadlabs/gotez/v2 v2.0.0
github.com/ecadlabs/gotez/v2 v2.0.5
github.com/ecadlabs/hdw v0.0.0-20221019154344-0b9e0a5909f0
github.com/gorilla/mux v1.8.0
github.com/sirupsen/logrus v1.9.3
Expand All @@ -21,8 +21,8 @@ require (
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rogpeppe/go-internal v1.12.0 // indirect
github.com/stretchr/objx v0.5.0 // indirect
golang.org/x/crypto v0.18.0 // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/crypto v0.23.0 // indirect
golang.org/x/sys v0.20.0 // indirect
)

// replace github.com/ecadlabs/gotez/v2 => ../gotez
6 changes: 6 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ github.com/ecadlabs/gotez/v2 v2.0.0-alpha10 h1:rTFSngn/O/V0AJG2ejrV7nKoBWNbXeJTD
github.com/ecadlabs/gotez/v2 v2.0.0-alpha10/go.mod h1:QypK0m1eDPmB9R7Uvgmsfm+JS7Z5Y6dIbIq1tMVYayU=
github.com/ecadlabs/gotez/v2 v2.0.0 h1:AuaXDbrQ3CdAs28XwIC/fJI38yhrm/c7UxhecQLuSb8=
github.com/ecadlabs/gotez/v2 v2.0.0/go.mod h1:QypK0m1eDPmB9R7Uvgmsfm+JS7Z5Y6dIbIq1tMVYayU=
github.com/ecadlabs/gotez/v2 v2.0.5 h1:RmpCEKYlQD18TtL9vjSDRe3FYADhxlKh80DZQz8h31Q=
github.com/ecadlabs/gotez/v2 v2.0.5/go.mod h1:QypK0m1eDPmB9R7Uvgmsfm+JS7Z5Y6dIbIq1tMVYayU=
github.com/ecadlabs/hdw v0.0.0-20221019154344-0b9e0a5909f0 h1:Q11ce6cHcaoCLg0To9WAahrRXCfyVUJsvfKeotEBwHQ=
github.com/ecadlabs/hdw v0.0.0-20221019154344-0b9e0a5909f0/go.mod h1:NJg15k8F/I2r2KLCsiOYIOX/mxCwx8vj9fVLKl3mw34=
github.com/ecadlabs/pretty v0.0.0-20230412124801-f948fc689a04 h1:7WdblGykGxtGGtchW4kzTaJJO8Fm+JKhLzhttOOWr9k=
Expand Down Expand Up @@ -43,11 +45,15 @@ golang.org/x/crypto v0.13.0 h1:mvySKfSWJ+UKUii46M40LOvyWfN0s2U+46/jDd0e6Ck=
golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc=
golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc=
golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg=
golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI=
golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8=
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o=
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU=
golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
Expand Down

0 comments on commit 4f3d77d

Please sign in to comment.