Skip to content

Commit

Permalink
refactor: unname "recipient" and "recipientAmount"
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulRBerg committed May 3, 2023
1 parent 030ef50 commit 2c299b0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/SablierV2ProxyPlugin.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,12 @@ contract SablierV2ProxyPlugin is
function onStreamCanceled(
ISablierV2Lockup lockup,
uint256 streamId,
address recipient,
address, /* recipient */
uint128 senderAmount,
uint128 recipientAmount
uint128 /* recipientAmount */
)
external
{
// Silence the "Unused function parameter" warning.
recipient;
recipientAmount;

// The proxy contract is the stream's sender in {SablierV2Lockup}.
address proxy = lockup.getSender(streamId);
address owner = IPRBProxy(proxy).owner();
Expand Down

0 comments on commit 2c299b0

Please sign in to comment.