From 67a3e4284a78f422401c8ebcfffaae4df561532f Mon Sep 17 00:00:00 2001 From: yihuang Date: Mon, 29 Apr 2024 10:57:20 +0800 Subject: [PATCH] Update x/e2ee/keyring/keyring.go Signed-off-by: yihuang --- x/e2ee/keyring/keyring.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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},