Changeset 769 in code for trunk/user.go
- Timestamp:
- Feb 4, 2022, 2:03:13 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/user.go
r768 r769 9 9 "math/big" 10 10 "net" 11 "sort" 11 12 "time" 12 13 … … 517 518 } 518 519 520 sort.Slice(networks, func(i, j int) bool { 521 return networks[i].ID < networks[j].ID 522 }) 523 519 524 for _, record := range networks { 520 525 record := record … … 766 771 func (u *user) addNetwork(network *network) { 767 772 u.networks = append(u.networks, network) 773 774 sort.Slice(u.networks, func(i, j int) bool { 775 return u.networks[i].ID < u.networks[j].ID 776 }) 777 768 778 go network.run() 769 779 }
Note:
See TracChangeset
for help on using the changeset viewer.