mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-12-28 07:39:22 -05: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");
|
||||
filledSubtrees = _filledSubtrees;
|
||||
roots[0] = _root;
|
||||
|
Loading…
Reference in New Issue
Block a user