From ade7233a82c44d1018edf9738cfdaaa298a8ca61 Mon Sep 17 00:00:00 2001 From: sporejack Date: Mon, 18 Oct 2021 13:46:52 +1000 Subject: [PATCH] Fixes code-423n4/2021-10-tracer-findings#9 --- contracts/implementation/PoolKeeper.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/implementation/PoolKeeper.sol b/contracts/implementation/PoolKeeper.sol index 5945ad88..43eb7e3e 100644 --- a/contracts/implementation/PoolKeeper.sol +++ b/contracts/implementation/PoolKeeper.sol @@ -131,7 +131,7 @@ contract PoolKeeper is IPoolKeeper, Ownable { /** * @notice Pay keeper for upkeep * @param _pool Address of the given pool - * @param _gasPrice Price of a single gas unit (in ETH) + * @param _gasPrice Price of a single gas unit (in ETH (wei)) * @param _gasSpent Number of gas units spent * @param _savedPreviousUpdatedTimestamp Last timestamp when the pool's price execution happened * @param _updateInterval Pool interval of the given pool @@ -155,7 +155,7 @@ contract PoolKeeper is IPoolKeeper, Ownable { /** * @notice Payment keeper receives for performing upkeep on a given pool * @param _pool Address of the given pool - * @param _gasPrice Price of a single gas unit (in ETH) + * @param _gasPrice Price of a single gas unit (in ETH (wei)) * @param _gasSpent Number of gas units spent * @param _savedPreviousUpdatedTimestamp Last timestamp when the pool's price execution happened * @param _poolInterval Pool interval of the given pool @@ -191,7 +191,7 @@ contract PoolKeeper is IPoolKeeper, Ownable { /** * @notice Compensation a keeper will receive for their gas expenditure * @param _pool Address of the given pool - * @param _gasPrice Price of a single gas unit (in ETH) + * @param _gasPrice Price of a single gas unit (in ETH (wei)) * @param _gasSpent Number of gas units spent * @return Keeper's gas compensation */