mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-05-04 23:34:58 -04:00
fix refund
This commit is contained in:
parent
0cbc0ad79b
commit
4ce8d1c2ce
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ contract ETHMixer is Mixer {
|
||||||
) Mixer(_verifier, _denomination, _merkleTreeHeight, _emptyElement, _operator) public {
|
) 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(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");
|
require(_refund == 0, "Message value is supposed to be zero for ETH mixer");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue