Co-authored-by: derekpierre <derek.pierre@gmail.com>
pull/2861/head
vzotova 2022-01-06 20:07:12 +03:00 committed by Kieran Prasch
parent bfbf7faa8b
commit 2855349a27
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ contract SimplePREApplication {
require(isAuthorized(operator), "No stake associated with the worker");
OperatorInfo storage info = operatorInfo[operator];
require(!info.workerConfirmed, "Worker address is already confirmed");
require(msg.sender == tx.origin, " Only worker with real address can make a confirmation");
require(msg.sender == tx.origin, "Only worker with real address can make a confirmation");
info.workerConfirmed = true;
emit WorkerConfirmed(operator, msg.sender);
}