mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-13 12:33:04 +02:00
cmd/pool+tools: update Go version of linter, fix issues
This commit is contained in:
parent
d78921b6ff
commit
811deaa6e9
2 changed files with 1 additions and 3 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue