aboutsummaryrefslogtreecommitdiffstats
path: root/ethcrypto/key_store.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethcrypto/key_store.go')
-rw-r--r--ethcrypto/key_store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethcrypto/key_store.go b/ethcrypto/key_store.go
index f14f14205..460f0c978 100644
--- a/ethcrypto/key_store.go
+++ b/ethcrypto/key_store.go
@@ -32,7 +32,7 @@ func (k *DBKeyStore) Save(session string, keyRing *KeyRing) error {
func (k *DBKeyStore) Load(session string) (*KeyRing, error) {
data, err := k.db.Get(k.dbKey(session))
if err != nil {
- return nil, err
+ return nil, nil
}
var keyRing *KeyRing
keyRing, err = NewKeyRingFromBytes(data)