File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ abstract contract WithdrawalQueueBase {
27
27
uint128 cumulativeShares;
28
28
/// @notice payable address of the recipient eth will be transferred to
29
29
address payable recipient;
30
- /// @notice block.number when the request was created
31
- uint64 blockNumber ;
30
+ /// @notice block.timestamp when the request was created
31
+ uint64 timestamp ;
32
32
/// @notice flag if the request was claimed
33
33
bool claimed;
34
34
}
@@ -128,7 +128,7 @@ abstract contract WithdrawalQueueBase {
128
128
uint256 amountOfStETH ,
129
129
uint256 amountOfShares ,
130
130
address recipient ,
131
- uint256 blockNumber ,
131
+ uint256 timestamp ,
132
132
bool isFinalized ,
133
133
bool isClaimed
134
134
)
@@ -140,7 +140,7 @@ abstract contract WithdrawalQueueBase {
140
140
WithdrawalRequest memory previousRequest = queue[_requestId - 1 ];
141
141
142
142
recipient = request.recipient;
143
- blockNumber = request.blockNumber ;
143
+ timestamp = request.timestamp ;
144
144
145
145
amountOfShares = request.cumulativeShares - previousRequest.cumulativeShares;
146
146
amountOfStETH = request.cumulativeStETH - previousRequest.cumulativeStETH;
@@ -254,7 +254,7 @@ abstract contract WithdrawalQueueBase {
254
254
255
255
if (request.recipient != msg .sender ) revert RecipientExpected (request.recipient, msg .sender );
256
256
if (request.claimed) revert RequestAlreadyClaimed ();
257
-
257
+
258
258
259
259
request.recipient = payable (_newRecipient);
260
260
You can’t perform that action at this time.
0 commit comments