From 95bad55ab1944a1fe2ddbfd8a907c955a7309345 Mon Sep 17 00:00:00 2001 From: "A.L." Date: Mon, 8 Jul 2024 20:54:09 +0200 Subject: [PATCH] fix: use pop in after low level call to clear stack --- src/ReservoirPriceOracle.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReservoirPriceOracle.sol b/src/ReservoirPriceOracle.sol index dd0ef93..b438b07 100644 --- a/src/ReservoirPriceOracle.sol +++ b/src/ReservoirPriceOracle.sol @@ -239,7 +239,7 @@ contract ReservoirPriceOracle is IPriceOracle, IReservoirPriceOracle, Owned(msg. // does not revert under any circumstance assembly ("memory-safe") { - let result := call(gas(), aRecipient, lPayoutAmt, codesize(), 0x00, codesize(), 0x00) + pop(call(gas(), aRecipient, lPayoutAmt, codesize(), 0x00, codesize(), 0x00)) } }