mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-05-06 16:25:15 -04:00
make finishMigration payable
This commit is contained in:
parent
1515959a01
commit
ae44615198
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue