fix lint warnings

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

No files matched your search

+4 -4
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)
}