Skip to content

Commit

Permalink
The beneficiary parameter of claimRefund is replaced with refundee (#…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
Aniket-Engg authored and nventuro committed Nov 1, 2018
1 parent 79eb94d commit 4f356e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/crowdsale/distribution/RefundableCrowdsale.sol
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ contract RefundableCrowdsale is FinalizableCrowdsale {

/**
* @dev Investors can claim refunds here if crowdsale is unsuccessful
* @param beneficiary Whose refund will be claimed.
* @param refundee Whose refund will be claimed.
*/
function claimRefund(address beneficiary) public {
function claimRefund(address refundee) public {
require(finalized());
require(!goalReached());

_escrow.withdraw(beneficiary);
_escrow.withdraw(refundee);
}

/**
Expand Down

0 comments on commit 4f356e3

Please sign in to comment.