Remove redundant func

This commit is contained in:
Sammy Libre 2016-12-08 02:38:37 +05:00
parent 414658a96e
commit b2f86ec70e

View File

@ -48,15 +48,6 @@ func ValidateAddress(addy string, poolAddy string) bool {
return cnutil.ValidateAddress(addy) return cnutil.ValidateAddress(addy)
} }
func StringInSlice(a string, list []string) bool {
for _, b := range list {
if b == a {
return true
}
}
return false
}
func reverse(src []byte) []byte { func reverse(src []byte) []byte {
dst := make([]byte, len(src)) dst := make([]byte, len(src))
for i := len(src); i > 0; i-- { for i := len(src); i > 0; i-- {