mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-30 15:15:07 +03:00
Tidy some lint errors
This commit is contained in:
parent
b9f35c5530
commit
fb6b828916
33 changed files with 125 additions and 656 deletions
|
@ -54,9 +54,7 @@ func main() {
|
|||
if isBetter(currentBest, newKey.id[:]) || len(currentBest) == 0 {
|
||||
currentBest = newKey.id
|
||||
for _, channel := range threadChannels {
|
||||
select {
|
||||
case channel <- newKey.id:
|
||||
}
|
||||
channel <- newKey.id
|
||||
}
|
||||
fmt.Println("--------------------------------------------------------------------------------")
|
||||
switch {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue