fix refund

This commit is contained in:
Roman Semenov 2019-10-17 16:35:23 +03:00 committed by GitHub
parent 0cbc0ad79b
commit 4ce8d1c2ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ contract ETHMixer is Mixer {
) Mixer(_verifier, _denomination, _merkleTreeHeight, _emptyElement, _operator) public {
}
function _processWithdraw(address payable _receiver, address payable _relayer, uint256 _fee, uint256 /* _refund */) internal {
function _processWithdraw(address payable _receiver, address payable _relayer, uint256 _fee, uint256 _refund) internal {
require(msg.value == 0, "Message value is supposed to be zero for ETH mixer");
require(_refund == 0, "Message value is supposed to be zero for ETH mixer");