Skip to content

Commit 4f356e3

Browse files
Aniket-Enggnventuro
authored andcommitted
The beneficiary parameter of claimRefund is replaced with refundee (#1481)
* signing prefix added * Minor improvement * Tests changed * Successfully tested * Minor improvements * Minor improvements * Revert "Dangling commas are now required. (#1359)" This reverts commit a688977. * updates * fixes #1404 * approve failing test * suggested changes done * ISafeERC20 removed * conflict fixes * fixes #1456
1 parent 79eb94d commit 4f356e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contracts/crowdsale/distribution/RefundableCrowdsale.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ contract RefundableCrowdsale is FinalizableCrowdsale {
5050

5151
/**
5252
* @dev Investors can claim refunds here if crowdsale is unsuccessful
53-
* @param beneficiary Whose refund will be claimed.
53+
* @param refundee Whose refund will be claimed.
5454
*/
55-
function claimRefund(address beneficiary) public {
55+
function claimRefund(address refundee) public {
5656
require(finalized());
5757
require(!goalReached());
5858

59-
_escrow.withdraw(beneficiary);
59+
_escrow.withdraw(refundee);
6060
}
6161

6262
/**

0 commit comments

Comments
 (0)