diff --git a/cmd/pool/order.go b/cmd/pool/order.go index 34e1269..ac7b3b0 100644 --- a/cmd/pool/order.go +++ b/cmd/pool/order.go @@ -499,7 +499,6 @@ func parseAccountKey(ctx *cli.Context, args cli.Args) ([]byte, error) { acctKeyStr = ctx.String("acct_key") case args.Present(): acctKeyStr = args.First() - args = args.Tail() default: return nil, fmt.Errorf("acct_key argument missing") } @@ -1004,7 +1003,6 @@ func ordersCancel(ctx *cli.Context) error { // nolint: dupl nonceHex = ctx.String("order_nonce") case args.Present(): nonceHex = args.First() - args = args.Tail() default: return fmt.Errorf("order_nonce argument missing") } diff --git a/tools/Dockerfile b/tools/Dockerfile index 48c84eb..17555ef 100644 --- a/tools/Dockerfile +++ b/tools/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19.4 +FROM golang:1.22.3-bookworm RUN apt-get update && apt-get install -y git ENV GOCACHE=/tmp/build/.cache