From faa406fb8be25ac647d889918824494d372fca1e Mon Sep 17 00:00:00 2001 From: Taylor Brent Date: Wed, 4 Sep 2024 18:54:45 -0400 Subject: [PATCH] fix p0 --- contracts/p0/StRSR.sol | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contracts/p0/StRSR.sol b/contracts/p0/StRSR.sol index 814a4a94e7..4a3c0a1da9 100644 --- a/contracts/p0/StRSR.sol +++ b/contracts/p0/StRSR.sol @@ -272,8 +272,7 @@ contract StRSRP0 is IStRSR, ComponentP0, EIP712Upgradeable { uint256 i = start; for (; i < endId; i++) { total += queue[i].rsrAmount; - queue[i].rsrAmount = 0; - queue[i].stakeAmount = 0; + delete queue[i]; } // Execute accumulated withdrawals