This commit is contained in:
Alireza Ahmadi
2026-03-28 21:32:37 +01:00
parent 764e1ba165
commit 1f393fc37f
6 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -560,7 +560,7 @@ func (s *Box) Close() error {
}
func (s *Box) Uptime() uint32 {
return uint32(time.Now().Sub(s.createdAt).Seconds())
return uint32(time.Since(s.createdAt).Seconds())
}
func (s *Box) Network() adapter.NetworkManager {