diff --git a/waku/v2/protocol/rln/waku_rln_relay.go b/waku/v2/protocol/rln/waku_rln_relay.go index 77b6e2da..ad7bc368 100644 --- a/waku/v2/protocol/rln/waku_rln_relay.go +++ b/waku/v2/protocol/rln/waku_rln_relay.go @@ -217,6 +217,10 @@ func (rlnRelay *WakuRLNRelay) AppendRLNProof(msg *pb.WakuMessage, senderEpochTim } msg.RateLimitProof = b + //If msgTimeStamp is not set, then set it to timestamp of proof + if msg.Timestamp == nil { + msg.Timestamp = proto.Int64(senderEpochTime.Unix()) + } return nil }