Skip to content

Commit

Permalink
Update x/e2ee/keyring/keyring.go
Browse files Browse the repository at this point in the history
Signed-off-by: yihuang <[email protected]>
  • Loading branch information
yihuang authored Apr 29, 2024
1 parent 2991534 commit 67a3e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/e2ee/keyring/keyring.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check warning on line 40 in x/e2ee/keyring/keyring.go

View check run for this annotation

Codecov / codecov/patch

x/e2ee/keyring/keyring.go#L39-L40

Added lines #L39 - L40 were not covered by tests
case sdkkeyring.BackendTest:
db, err = keyring.Open(keyring.Config{
AllowedBackends: []keyring.BackendType{keyring.FileBackend},
Expand Down

0 comments on commit 67a3e42

Please sign in to comment.