Skip to content

Commit

Permalink
docs: update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
xenide committed Jul 7, 2024
1 parent 2377530 commit f13724a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ReservoirPriceOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ contract ReservoirPriceOracle is IPriceOracle, IReservoirPriceOracle, Owned(msg.
lPayoutAmt = block.basefee * rewardGasAmount;
}

// does not revert even if transfer fails
// does not revert in any circumstance
assembly ("memory-safe") {
let result := call(gas(), aRecipient, lPayoutAmt, codesize(), 0x00, codesize(), 0x00)
}
Expand Down
2 changes: 1 addition & 1 deletion test/mock/GasBuster.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pragma solidity ^0.8.0;
contract GasBuster {
// Allow the contract to receive ETH
receive() external payable {
while(true) {
while (true) {
// This loop will continue until all gas is consumed
}
}
Expand Down

0 comments on commit f13724a

Please sign in to comment.