Skip to content

Commit

Permalink
Removed more console.log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
chuacw committed Sep 11, 2024
1 parent a83f425 commit 5b2cd64
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/HookDonation.sol
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@ contract AfterSwapDonationHook is BaseHook {
) external override returns (bytes4, int128) {
// require(msg.sender == address(poolManager), "Unauthorized caller");

console.log("afterSwap tx.origin %s", tx.origin);
console.log("afterSwap parameter sender: %s", sender);
console.log("afterSwap msg.sender: %s", msg.sender);
console.log("afterSwap this: %s", address(this));

// Check that donation is enabled for the tx.origin, otherwise, return early
if (!donationEnabled(tx.origin)) {
return (this.afterSwap.selector, 0);
Expand Down

0 comments on commit 5b2cd64

Please sign in to comment.