diff --git a/go/proto/sign.go b/go/proto/sign.go index 2da976834c..d6c58fbf64 100644 --- a/go/proto/sign.go +++ b/go/proto/sign.go @@ -51,8 +51,8 @@ func (s *SignS) Copy() *SignS { } // SetTimestamp sets the timestamp. -func (s *SignS) SetTimestamp(now time.Time) { - s.Timestamp = util.TimeToSecs(time.Now()) +func (s *SignS) SetTimestamp(ts time.Time) { + s.Timestamp = util.TimeToSecs(ts) } // Time returns the timestamp. If the receiver is nil, the zero value is returned.