Skip to content

Commit 959b7f5

Browse files
committed
fix event
1 parent f7685f0 commit 959b7f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/ERC20Helper.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ contract ERC20Helper is FirewallConsumer {
2929

3030
function transferToken(IERC20 token, address to, uint256 amount) internal firewallProtectedSig(0x3844b707) {
3131
uint256 oldBalance = token.balanceOf(address(this));
32-
emit TransferOut(amount, msg.sender, token);
32+
emit TransferOut(amount, to, token);
3333
token.safeTransfer(to, amount);
3434
if (token.balanceOf(address(this)) != (oldBalance - amount)) revert SentIncorrectAmount();
3535
}

0 commit comments

Comments
 (0)