Browse Source

Remove redundant func

pool
Sammy Libre 8 years ago
parent
commit
b2f86ec70e
  1. 9
      go-pool/util/util.go

9
go-pool/util/util.go

@ -48,15 +48,6 @@ func ValidateAddress(addy string, poolAddy string) bool { @@ -48,15 +48,6 @@ func ValidateAddress(addy string, poolAddy string) bool {
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 {
dst := make([]byte, len(src))
for i := len(src); i > 0; i-- {

Loading…
Cancel
Save