Compare commits

..

No commits in common. "0d4be0f7fcbe05b39cdc675f7b082ebf149ee063" and "18e865ba269e4176302f8cbc41fcaee755ad2940" have entirely different histories.

2 changed files with 1 additions and 10 deletions

View File

@ -2268,23 +2268,14 @@ func (h *MenuHandlers) constructAccountAlias(ctx context.Context) error {
}
firstName, err := store.ReadEntry(ctx, sessionId, storedb.DATA_FIRST_NAME)
if err != nil {
if db.IsNotFound(err) {
return nil
}
return err
}
familyName, err := store.ReadEntry(ctx, sessionId, storedb.DATA_FAMILY_NAME)
if err != nil {
if db.IsNotFound(err) {
return nil
}
return err
}
pubKey, err := store.ReadEntry(ctx, sessionId, storedb.DATA_PUBLIC_KEY)
if err != nil {
if db.IsNotFound(err) {
return nil
}
return err
}
aliasInput := fmt.Sprintf("%s%s", firstName, familyName)

View File

@ -1679,7 +1679,7 @@ func TestValidateRecipient(t *testing.T) {
},
{
name: "Test with alias recepient",
input: []byte("alias123.sarafu.local"),
input: []byte("alias123"),
expectedResult: resource.Result{},
},
}