Commit bc5d4cb5 authored by masala's avatar masala

fix generationDeadline time

parent e517ad7f
......@@ -1191,7 +1191,7 @@ func (s *state) onDescriptorUpload(rawDesc []byte, desc *pki.MixDescriptor, epoc
}
func (s *state) documentForEpoch(epoch uint64) ([]byte, error) {
const generationDeadline = 7 * epochtime.Period / 8
const generationDeadline = 7 * (epochtime.Period / 8)
s.RLock()
defer s.RUnlock()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment