mirror of https://github.com/nucypher/nucypher.git
parent
bfbf7faa8b
commit
2855349a27
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue