backupNotes

This commit is contained in:
Alexey 2021-03-16 01:05:33 +04:00
parent b9570ea3c3
commit a326f3e14f
1 changed files with 6 additions and 0 deletions

View File

@ -88,6 +88,12 @@ contract TornadoProxy {
}
}
function backupNotes(bytes[] calldata _encryptedNotes) external {
for (uint256 i = 0; i < _encryptedNotes.length; i++) {
emit EncryptedNote(msg.sender, _encryptedNotes[i]);
}
}
function updateInstance(Tornado calldata _tornado) external onlyGovernance {
_updateInstance(_tornado);
}