Skip to content

Commit

Permalink
make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ConvallariaMaj committed Jul 15, 2024
1 parent 97aed33 commit 66ea05e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion activation/activation_errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var (
ErrPoetServiceUnstable = &PoetSvcUnstableError{}
// ErrPoetProofNotReceived is returned when no poet proof was received.
ErrPoetProofNotReceived = errors.New("builder: didn't receive any poet proof")
// ErrNoRegistrationForGivenPoetFound is returned when there are exising registrations for given node id
// ErrNoRegistrationForGivenPoetFound is returned when there are existing registrations for given node id
// in current poet round, but for other poet services and poet round has already started.
// So poet proof will not be fetched.
ErrNoRegistrationForGivenPoetFound = errors.New("builder: no registration found for given poet set")
Expand Down
4 changes: 3 additions & 1 deletion activation/nipost.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@ import (
"context"
"errors"
"fmt"
"golang.org/x/exp/maps"
"math/rand/v2"
"time"

"golang.org/x/exp/maps"

Check failure on line 11 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / coverage

other declaration of maps

Check failure on line 11 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / lint

other declaration of maps

Check failure on line 11 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / lint

other declaration of maps

Check failure on line 11 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / unittests (self-hosted, macOS, ARM64, go-spacemesh)

other declaration of maps

Check failure on line 11 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / unittests (self-hosted, macOS, ARM64, go-spacemesh)

other declaration of maps

Check failure on line 11 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / unittests (ubuntu-22.04)

other declaration of maps

Check failure on line 11 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / unittests (ubuntu-latest-arm-8-cores)

other declaration of maps

Check failure on line 11 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / unittests (macos-13)

other declaration of maps

"github.com/spacemeshos/merkle-tree"
"github.com/spacemeshos/poet/shared"
postshared "github.com/spacemeshos/post/shared"
"go.uber.org/zap"
"golang.org/x/exp/maps"

Check failure on line 17 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / coverage

maps redeclared in this block

Check failure on line 17 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / coverage

"golang.org/x/exp/maps" imported and not used

Check failure on line 17 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / lint

maps redeclared in this block

Check failure on line 17 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / lint

"golang.org/x/exp/maps" imported and not used (compile)

Check failure on line 17 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / lint

maps redeclared in this block

Check failure on line 17 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / lint

"golang.org/x/exp/maps" imported and not used (compile)

Check failure on line 17 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / unittests (self-hosted, macOS, ARM64, go-spacemesh)

maps redeclared in this block

Check failure on line 17 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / unittests (self-hosted, macOS, ARM64, go-spacemesh)

"golang.org/x/exp/maps" imported and not used

Check failure on line 17 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / unittests (self-hosted, macOS, ARM64, go-spacemesh)

maps redeclared in this block

Check failure on line 17 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / unittests (self-hosted, macOS, ARM64, go-spacemesh)

"golang.org/x/exp/maps" imported and not used

Check failure on line 17 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / unittests (ubuntu-22.04)

maps redeclared in this block

Check failure on line 17 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / unittests (ubuntu-22.04)

"golang.org/x/exp/maps" imported and not used

Check failure on line 17 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / unittests (ubuntu-latest-arm-8-cores)

maps redeclared in this block

Check failure on line 17 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / unittests (ubuntu-latest-arm-8-cores)

"golang.org/x/exp/maps" imported and not used

Check failure on line 17 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / unittests (macos-13)

maps redeclared in this block

Check failure on line 17 in activation/nipost.go

View workflow job for this annotation

GitHub Actions / unittests (macos-13)

"golang.org/x/exp/maps" imported and not used
"golang.org/x/sync/errgroup"

"github.com/spacemeshos/go-spacemesh/activation/metrics"
Expand Down

0 comments on commit 66ea05e

Please sign in to comment.