From 3942a534feecfd8acedd3ebaff72166c07c1f75e Mon Sep 17 00:00:00 2001 From: Vlad Date: Fri, 15 Feb 2019 12:56:46 +0400 Subject: [PATCH] swarm/pss: goimports fixed --- swarm/pss/keystore.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swarm/pss/keystore.go b/swarm/pss/keystore.go index 4625f627ca..510d21bcfd 100644 --- a/swarm/pss/keystore.go +++ b/swarm/pss/keystore.go @@ -18,6 +18,7 @@ package pss import ( "crypto/ecdsa" + "errors" "fmt" "sync" @@ -26,11 +27,10 @@ import ( "github.com/ethereum/go-ethereum/metrics" "github.com/ethereum/go-ethereum/swarm/log" whisper "github.com/ethereum/go-ethereum/whisper/whisperv6" - "github.com/pkg/errors" ) type KeyStore struct { - w *whisper.Whisper // key and encryption backend + w *whisper.Whisper // key and encryption backend mx sync.RWMutex pubKeyPool map[string]map[Topic]*pssPeer // mapping of hex public keys to peer address by topic.