This commit is contained in:
PedroCailleret 2023-05-20 00:49:54 -03:00
parent c927f741e6
commit 2129566a27
4 changed files with 4 additions and 7 deletions

View File

@ -1,4 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/c96aab92784d63ce08c6b112913f46c8.json"
"buildInfo": "../../build-info/2fbad03752b21beeabf4fed16acdbf91.json"
}

File diff suppressed because one or more lines are too long

View File

@ -241,7 +241,6 @@ contract P2PIX is BaseUtils, ReentrancyGuard {
ERC20 t = ERC20(l.token);
/// @todo shouldi cache it tho: would it be cheaper to just keep reading from storage?
// We cache values before zeroing them out.
uint256 lockAmount = l.amount;
// uint256 totalAmount = (lockAmount - l.relayerPremium);
@ -399,8 +398,6 @@ contract P2PIX is BaseUtils, ReentrancyGuard {
function _addLock(
uint256 _bal,
/// @todo cant i simply get the amount via the lock in storage? would it be cheaper than using
/// a function parameter?
uint256 _amount,
uint256 _lockID,
DT.Lock memory _l,

File diff suppressed because one or more lines are too long