Skip to content

Commit

Permalink
Update LibProposing.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik committed Oct 28, 2024
1 parent 818bbd6 commit 290a9f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/protocol/contracts/layer1/based/LibProposing.sol
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ library LibProposing {
local.params.anchorBlockId = uint64(block.number - 1);
}

// We deliberately avoid subtracting 12 second to use a more recent timestamp.
if (local.params.timestamp == 0) {
local.params.timestamp = uint64(block.timestamp);
}
Expand Down

0 comments on commit 290a9f9

Please sign in to comment.