mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-08 00:36:14 +00:00
fix lint warnings
This commit is contained in:
11 files changed
+26
-17
No files matched your search
@@ -21,10 +21,10 @@ import (
|
||||
)
|
||||
|
||||
func hashTimestamp(h hash.Hash, t protocol.Timestamp) []byte {
|
||||
serial.WriteUint64(h, uint64(t))
|
||||
serial.WriteUint64(h, uint64(t))
|
||||
serial.WriteUint64(h, uint64(t))
|
||||
serial.WriteUint64(h, uint64(t))
|
||||
common.Must2(serial.WriteUint64(h, uint64(t)))
|
||||
common.Must2(serial.WriteUint64(h, uint64(t)))
|
||||
common.Must2(serial.WriteUint64(h, uint64(t)))
|
||||
common.Must2(serial.WriteUint64(h, uint64(t)))
|
||||
return h.Sum(nil)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user