From 412362b68274e3f145a3fbea2be6503c18826512 Mon Sep 17 00:00:00 2001 From: Reed Allman Date: Wed, 21 Mar 2018 13:13:04 -0700 Subject: [PATCH] i bring great shame to my family (#876) --- api/id/id.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/api/id/id.go b/api/id/id.go index e112480a0..9f6d3a4b9 100644 --- a/api/id/id.go +++ b/api/id/id.go @@ -63,13 +63,13 @@ func New() Id { id[8] = byte(machineID<<4) | byte((count<<4)>>60) - id[8] = byte(count >> 48) - id[8] = byte(count >> 40) - id[8] = byte(count >> 32) - id[8] = byte(count >> 24) - id[8] = byte(count >> 16) - id[8] = byte(count >> 8) - id[8] = byte(count) + id[9] = byte(count >> 48) + id[10] = byte(count >> 40) + id[11] = byte(count >> 32) + id[12] = byte(count >> 24) + id[13] = byte(count >> 16) + id[14] = byte(count >> 8) + id[15] = byte(count) return id }