Skip to content
Snippets Groups Projects
Commit c9529cae authored by Cornel Rautenbach's avatar Cornel Rautenbach
Browse files

Added comment

parent 97673fce
No related branches found
No related tags found
No related merge requests found
...@@ -24,6 +24,7 @@ func MD5HashOfLowerCaseEnteredAddress(enteredAddress string) string { ...@@ -24,6 +24,7 @@ func MD5HashOfLowerCaseEnteredAddress(enteredAddress string) string {
return fmt.Sprintf("%X", md5.Sum([]byte(valueToHash))) return fmt.Sprintf("%X", md5.Sum([]byte(valueToHash)))
} }
// cleanLowerCaseAddress makes the entered address lowercase, removes unwanted chars, strip street terms and removes all whitespace
func cleanLowerCaseAddress(enteredAddress string) string { func cleanLowerCaseAddress(enteredAddress string) string {
// Lowercase. // Lowercase.
enteredAddress = strings.ToLower(enteredAddress) enteredAddress = strings.ToLower(enteredAddress)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment