diff --git a/x/e2ee/keyring/keyring.go b/x/e2ee/keyring/keyring.go index aac0e9de55..62cf3af8ee 100644 --- a/x/e2ee/keyring/keyring.go +++ b/x/e2ee/keyring/keyring.go @@ -37,7 +37,7 @@ func New( serviceName := appName + "-e2ee" switch backend { case sdkkeyring.BackendMemory: - return newKeystore(keyring.NewArrayKeyring(nil), sdkkeyring.BackendMemory), err + return newKeystore(keyring.NewArrayKeyring(nil), sdkkeyring.BackendMemory), nil case sdkkeyring.BackendTest: db, err = keyring.Open(keyring.Config{ AllowedBackends: []keyring.BackendType{keyring.FileBackend},