function visibility and inheritability

Signed-off-by: T-Hax <>
This commit is contained in:
T-Hax 2023-06-13 20:04:05 +00:00
parent eca31a997e
commit 4e591b515e

@ -30,7 +30,7 @@ contract ERC20Tornado is Tornado {
token = _token;
}
function _processDeposit() internal override {
function _processDeposit() internal virtual override {
require(msg.value == 0, "ETH value is supposed to be 0 for ERC20 instance");
token.safeTransferFrom(msg.sender, address(this), denomination);
}