Improve wording consistency in code/doc (#3365)
This commit is contained in:
@ -34,6 +34,8 @@ contract Escrow is Ownable {
|
||||
/**
|
||||
* @dev Stores the sent amount as credit to be withdrawn.
|
||||
* @param payee The destination address of the funds.
|
||||
*
|
||||
* Emits a {Deposited} event.
|
||||
*/
|
||||
function deposit(address payee) public payable virtual onlyOwner {
|
||||
uint256 amount = msg.value;
|
||||
@ -50,6 +52,8 @@ contract Escrow is Ownable {
|
||||
* checks-effects-interactions pattern or using {ReentrancyGuard}.
|
||||
*
|
||||
* @param payee The address whose funds will be withdrawn and transferred to.
|
||||
*
|
||||
* Emits a {Withdrawn} event.
|
||||
*/
|
||||
function withdraw(address payable payee) public virtual onlyOwner {
|
||||
uint256 payment = _deposits[payee];
|
||||
|
||||
Reference in New Issue
Block a user