Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jayy04 committed Oct 3, 2024
1 parent eeb1235 commit ff1ec4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion protocol/x/accountplus/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ func (k Keeper) GetAllAuthenticatorData(ctx sdk.Context) ([]types.AuthenticatorD
return err
}

// Extract account address from key
// Key is of format `SA/A/{accountAddr}/{authenticatorId}`.
// Extract account address from key.
accountAddr := strings.Split(string(key), "/")[2]

// Check if this entry is for a new address or the same as the last one processed
Expand Down

0 comments on commit ff1ec4a

Please sign in to comment.