make finishMigration payable

This commit is contained in:
poma 2019-12-11 17:15:49 +07:00
parent 1515959a01
commit ae44615198
No known key found for this signature in database
GPG Key ID: BA20CB01FE165657
1 changed files with 1 additions and 1 deletions

View File

@ -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;