mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-11-22 17:50:19 +01:00
make finishMigration payable
This commit is contained in:
parent
1515959a01
commit
ae44615198
@ -59,7 +59,7 @@ contract ETHMixer is Mixer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function initializeTreeForMigration(bytes32[] calldata _filledSubtrees, bytes32 _root) external {
|
function initializeTreeForMigration(bytes32[] calldata _filledSubtrees, bytes32 _root) external onlyOperator {
|
||||||
require(!isMigrated, "already migrated");
|
require(!isMigrated, "already migrated");
|
||||||
filledSubtrees = _filledSubtrees;
|
filledSubtrees = _filledSubtrees;
|
||||||
roots[0] = _root;
|
roots[0] = _root;
|
||||||
|
Loading…
Reference in New Issue
Block a user