Improve wording consistency in code/doc (#3365)
This commit is contained in:
@ -43,6 +43,8 @@ abstract contract PullPayment {
|
||||
* checks-effects-interactions pattern or using {ReentrancyGuard}.
|
||||
*
|
||||
* @param payee Whose payments will be withdrawn.
|
||||
*
|
||||
* Causes the `escrow` to emits a {Withdrawn} event.
|
||||
*/
|
||||
function withdrawPayments(address payable payee) public virtual {
|
||||
_escrow.withdraw(payee);
|
||||
@ -63,6 +65,8 @@ abstract contract PullPayment {
|
||||
*
|
||||
* @param dest The destination address of the funds.
|
||||
* @param amount The amount to transfer.
|
||||
*
|
||||
* Causes the `escrow` to emits a {Deposited} event.
|
||||
*/
|
||||
function _asyncTransfer(address dest, uint256 amount) internal virtual {
|
||||
_escrow.deposit{value: amount}(dest);
|
||||
|
||||
Reference in New Issue
Block a user