func ValidateAddress(a string) bool {
	pkh, version, err := base58.CheckDecode(string(a))
	if err != nil {
		return false
	}

	if version != PhoreAddressVersion {
		return false
	}

	if len(pkh) != 20 {
		return false
	}

	return true
}
// ValidateAddress returns true if the address passed is valid.
ValidateAddress returns true if the address passed is valid.
// ValidateAddress returns true if the address passed is valid .
func ValidateAddress(a string) bool {
	pkh, version, err := base58.CheckDecode(string(a))
	if err != nil {
		return false
	}
	if version != PhoreAddressVersion {
		return false
	}
	if len(pkh) != 20 {
		return false
	}
	return true
}
func ValidateAddress ( a string ) bool { pkh , version , err := base58 . CheckDecode ( string ( a ) ) if err != nil { return false } if version != PhoreAddressVersion { return false } if len ( pkh ) != 20 { return false } return true }
ValidateAddress returns true if the address passed is valid.
ValidateAddress returns true if the address passed is valid .