Prechádzať zdrojové kódy

make PullPayment.withdrawPaymentsWithGas external

(cherry picked from commit 76a1d7a3cd29fb7797cd12d2a5906b94325b773e)
Francisco Giordano 6 rokov pred
rodič
commit
4c997ea09e
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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);
     }