From 66ea05e4b55f1c2a3fac320df16dc32c23d85c8d Mon Sep 17 00:00:00 2001 From: ConvallariaMaj Date: Mon, 15 Jul 2024 12:31:21 +0200 Subject: [PATCH] make linter happy --- activation/activation_errors.go | 2 +- activation/nipost.go | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/activation/activation_errors.go b/activation/activation_errors.go index e4aa928577..1a3ce2e83a 100644 --- a/activation/activation_errors.go +++ b/activation/activation_errors.go @@ -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") diff --git a/activation/nipost.go b/activation/nipost.go index 849df5202e..48e99d9b5c 100644 --- a/activation/nipost.go +++ b/activation/nipost.go @@ -5,14 +5,16 @@ import ( "context" "errors" "fmt" - "golang.org/x/exp/maps" "math/rand/v2" "time" + "golang.org/x/exp/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" "golang.org/x/sync/errgroup" "github.com/spacemeshos/go-spacemesh/activation/metrics"