1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-01 06:55:25 -05:00

fix lint warnings

This commit is contained in:
Darien Raymond
2018-11-13 23:19:58 +01:00
parent c5ccbe6b63
commit a14fae4b35
11 changed files with 26 additions and 17 deletions

View File

@@ -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)
}