From a0d7e080fe70023508deaa2b199b3bb8d7a60c32 Mon Sep 17 00:00:00 2001 From: otherview Date: Fri, 22 Nov 2024 17:32:54 +0000 Subject: [PATCH] lint --- cmd/thor/node/node_benchmark_test.go | 10 +++++----- muxdb/metrics.go | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/thor/node/node_benchmark_test.go b/cmd/thor/node/node_benchmark_test.go index d3f0e261c..d95dcf936 100644 --- a/cmd/thor/node/node_benchmark_test.go +++ b/cmd/thor/node/node_benchmark_test.go @@ -4,11 +4,6 @@ import ( "crypto/ecdsa" "crypto/rand" "fmt" - "github.com/vechain/thor/v2/chain" - "github.com/vechain/thor/v2/cmd/thor/solo" - "github.com/vechain/thor/v2/logdb" - "github.com/vechain/thor/v2/muxdb" - "github.com/vechain/thor/v2/state" "math" "math/big" "sync" @@ -18,8 +13,13 @@ import ( "github.com/stretchr/testify/require" "github.com/vechain/thor/v2/bft" "github.com/vechain/thor/v2/block" + "github.com/vechain/thor/v2/chain" + "github.com/vechain/thor/v2/cmd/thor/solo" "github.com/vechain/thor/v2/genesis" + "github.com/vechain/thor/v2/logdb" + "github.com/vechain/thor/v2/muxdb" "github.com/vechain/thor/v2/packer" + "github.com/vechain/thor/v2/state" "github.com/vechain/thor/v2/test/datagen" "github.com/vechain/thor/v2/test/testchain" "github.com/vechain/thor/v2/thor" diff --git a/muxdb/metrics.go b/muxdb/metrics.go index 6e4a6aa7e..766a76eb9 100644 --- a/muxdb/metrics.go +++ b/muxdb/metrics.go @@ -4,4 +4,4 @@ import ( "github.com/vechain/thor/v2/metrics" ) -var metricCacheHitMissCounterVec = metrics.LazyLoadCounterVec("cache_hit_miss_count", []string{"type", "event"}) \ No newline at end of file +var metricCacheHitMissCounterVec = metrics.LazyLoadCounterVec("cache_hit_miss_count", []string{"type", "event"})