Skip to content

Commit

Permalink
fix: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sogipec committed Dec 2, 2024
1 parent 15affbc commit 43387fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ contract PufferPointTokenWrapper is BaseMerklTokenWrapper {
}

function _beforeTokenTransfer(address from, address to, uint256 amount) internal override {
// Needs an RDNT approval beforehand, this is how mints of coupons are done
// Needs an underlying approval beforehand, this is how mints of wrappers are done
if (to == DISTRIBUTOR) {
IERC20(underlying).safeTransferFrom(from, address(this), amount);
_mint(from, amount); // These are then transferred to the distributor
Expand Down

0 comments on commit 43387fe

Please sign in to comment.