diff --git a/core/preimages.go b/core/preimages.go index ac57290b42..aebdd9bc2a 100644 --- a/core/preimages.go +++ b/core/preimages.go @@ -7,8 +7,6 @@ import ( "os" "strconv" - "github.com/ethereum/go-ethereum/crypto" - ethCommon "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" "github.com/harmony-one/harmony/api/service/prometheus" diff --git a/rpc/preimages.go b/rpc/preimages.go index 71887030ac..2935f7e25d 100644 --- a/rpc/preimages.go +++ b/rpc/preimages.go @@ -2,7 +2,6 @@ package rpc import ( "context" - "fmt" "github.com/harmony-one/harmony/core" "github.com/harmony-one/harmony/eth/rpc" @@ -28,4 +27,3 @@ func (s *PreimagesService) Export(_ context.Context, path string) error { // these are by default not blocking return core.ExportPreimages(s.hmy.BlockChain, path) } -