Skip to content
This repository was archived by the owner on May 22, 2023. It is now read-only.

Commit 491dbc7

Browse files
committed
Renamed _from to owner
1 parent acf4100 commit 491dbc7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

solidity/contracts/EthDelegating.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,18 @@ contract EthDelegating is Authorizations, StakeDelegatable {
5050
address authorizer
5151
) external payable {
5252
// TODO: Do we need to verify the caller in any way?
53-
address _from = msg.sender;
53+
address owner = msg.sender;
5454

5555
require(
5656
operators[operator].owner == address(0),
5757
"Operator already in use"
5858
);
5959

60-
operators[operator] = Operator(0, _from, beneficiary, authorizer);
60+
operators[operator] = Operator(0, owner, beneficiary, authorizer);
6161

6262
// TODO: Add initialization period as per https://github.com/keep-network/keep-ecdsa/pull/483#discussion_r468628872
6363

64-
emit Delegated(_from, operator);
64+
emit Delegated(owner, operator);
6565
emit OperatorDelegated(operator, beneficiary, authorizer);
6666
}
6767
}

0 commit comments

Comments
 (0)