diff --git a/src/Strategy.sol b/src/Strategy.sol index f0bef59d..57e41094 100644 --- a/src/Strategy.sol +++ b/src/Strategy.sol @@ -922,12 +922,8 @@ contract Strategy is BaseStrategy, Pausable, ReentrancyGuard { ); } else { // Edit offer, overwrite existing - termAuctionListData.offers[offerIds[0]] = PendingOffer({ - repoToken: repoToken, - offerAmount: offer.amount, - termAuction: auction, - offerLocker: offerLocker - }); + PendingOffer storage pendingOffer = termAuctionListData.offers[offerIds[0]]; + pendingOffer.offerAmount = offer.amount; } }