Skip to content

Commit

Permalink
Sequencer tweak [#3415]
Browse files Browse the repository at this point in the history
Closes #3415. Uses a real timestamp for anchor signatures in the sequencer.

Changelog: fix
  • Loading branch information
firelizzard18 committed Sep 30, 2023
1 parent c9da3d1 commit 9d70e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/v3/sequencer.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func (s *Sequencer) getAnchor(batch *database.Batch, globals *core.GlobalValues,
SetPrivateKey(s.valKey).
SetUrl(signer.Url).
SetVersion(globals.Network.Version).
SetTimestamp(1).
SetTimestampToNow().
Sign(hash)
if err != nil {
return nil, errors.InternalError.Wrap(err)
Expand Down

0 comments on commit 9d70e89

Please sign in to comment.