Commit 37313cf0 authored by masala's avatar masala

sign the epoch bytes too

parent 4dbaef3b
......@@ -375,7 +375,7 @@ func (s *state) reveal(epoch uint64) {
// Reveals are only valid until the end of voting round
_, _, till := epochtime.Now()
revealExpiration := time.Now().Add(till).Unix()
signed, err := cert.Sign(s.s.identityKey, reveal[8:], revealExpiration)
signed, err := cert.Sign(s.s.identityKey, reveal, revealExpiration)
if err != nil {
s.s.fatalErrCh <- err
}
......
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