mirror of
https://github.com/kvazar-network/keva-stratum.git
synced 2025-03-12 14:01:16 +00:00
Remove redundant func
This commit is contained in:
parent
414658a96e
commit
b2f86ec70e
@ -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…
x
Reference in New Issue
Block a user