Skip to content

Commit

Permalink
Remove data bytes from Received event
Browse files Browse the repository at this point in the history
  • Loading branch information
elenadimitrova committed Apr 15, 2021
1 parent 39c456f commit 39bb975
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/wallet/Proxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ contract Proxy {

address immutable public implementation;

event Received(uint indexed value, address indexed sender, bytes data);
event Received(uint indexed value, address indexed sender);

constructor(address _implementation) {
implementation = _implementation;
Expand All @@ -46,6 +46,6 @@ contract Proxy {
}

receive() external payable {
emit Received(msg.value, msg.sender, "");
emit Received(msg.value, msg.sender);
}
}

0 comments on commit 39bb975

Please sign in to comment.