mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-10-29 16:10:22 +00:00
fix lint warnings
This commit is contained in:
@@ -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