Skip to content

Commit

Permalink
carbon pol eth conversion - minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanzhelyazkov committed Nov 28, 2023
1 parent d70247c commit 1020bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/pol/CarbonPOL.sol
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ contract CarbonPOL is ICarbonPOL, Upgradeable, ReentrancyGuardUpgradeable, Utils
} else {
inputAmount = _sellTokenForETH(token, amount);
}
emit TokenTraded(msg.sender, token, inputAmount, amount);
emit TokenTraded({ caller: msg.sender, token: token, inputAmount: inputAmount, outputAmount: amount });
}

function _sellTokenForETH(Token token, uint128 amount) private returns (uint128) {
Expand Down

0 comments on commit 1020bfd

Please sign in to comment.