mirror of
https://github.com/tornadocash/tornado-anonymity-mining.git
synced 2024-10-31 23:55:20 +01:00
add virtual keyword to withdraw() in proxy for inheritance
This commit is contained in:
parent
95f6bbfe17
commit
e254019f13
@ -60,7 +60,7 @@ contract TornadoProxy is EnsResolve {
|
|||||||
address payable _relayer,
|
address payable _relayer,
|
||||||
uint256 _fee,
|
uint256 _fee,
|
||||||
uint256 _refund
|
uint256 _refund
|
||||||
) external payable {
|
) external virtual payable {
|
||||||
require(instances[_tornado], "The instance is not supported");
|
require(instances[_tornado], "The instance is not supported");
|
||||||
|
|
||||||
_tornado.withdraw{ value: msg.value }(_proof, _root, _nullifierHash, _recipient, _relayer, _fee, _refund);
|
_tornado.withdraw{ value: msg.value }(_proof, _root, _nullifierHash, _recipient, _relayer, _fee, _refund);
|
||||||
|
Loading…
Reference in New Issue
Block a user