Skip to content

Commit

Permalink
Rebase fix
Browse files Browse the repository at this point in the history
  • Loading branch information
olivdb committed Mar 25, 2021
1 parent bcaf8eb commit 1500099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/infrastructure/dapp/ParaswapFilter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ contract ParaswapFilter is BaseFilter {
uint256 exchangeDataOffset = 36 + abi.decode(_data[196:228], (uint256));
for(uint256 i = 0; i < _callees.length; i++) {
bytes calldata slicedExchangeData = _data[exchangeDataOffset+_startIndexes[i] : exchangeDataOffset+_startIndexes[i+1]];
address spender = Utils.recoverSpender(_augustus, _callees[i], slicedExchangeData);
address spender = Utils.recoverSpender(_callees[i], slicedExchangeData);
if(!authoriser.isAuthorised(_augustus, spender, _callees[i], slicedExchangeData)) {
return false;
}
Expand Down

0 comments on commit 1500099

Please sign in to comment.