diff --git a/dashboard/dashboard.go b/dashboard/dashboard.go index 52bda1edf7..ec7369ee53 100644 --- a/dashboard/dashboard.go +++ b/dashboard/dashboard.go @@ -27,13 +27,13 @@ package dashboard import ( "fmt" - "github.com/ethereum/go-ethereum/common" "io" "net" "net/http" "sync" "sync/atomic" + "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/eth" "github.com/ethereum/go-ethereum/event" "github.com/ethereum/go-ethereum/les" @@ -46,7 +46,7 @@ import ( ) const ( - sampleLimit = 200 // Maximum number of data samples + sampleLimit = 200 // Maximum number of data samples dataCollectorCount = 4 ) diff --git a/dashboard/message.go b/dashboard/message.go index 01fa33c68b..57edf3c571 100644 --- a/dashboard/message.go +++ b/dashboard/message.go @@ -18,6 +18,7 @@ package dashboard import ( "encoding/json" + "github.com/ethereum/go-ethereum/common" )