Browse Source

make PullPayment.withdrawPaymentsWithGas external

(cherry picked from commit 76a1d7a3cd29fb7797cd12d2a5906b94325b773e)
Francisco Giordano 6 years ago
parent
commit
4c997ea09e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contracts/payment/PullPayment.sol

+ 1 - 1
contracts/payment/PullPayment.sol

@@ -49,7 +49,7 @@ contract PullPayment {
      * Make sure you trust the recipient, or are either following the
      * checks-effects-interactions pattern or using {ReentrancyGuard}.
      */
-    function withdrawPaymentsWithGas(address payable payee) public {
+    function withdrawPaymentsWithGas(address payable payee) external {
         _escrow.withdrawWithGas(payee);
     }