Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Aniket-Engg committed Oct 24, 2018
1 parent 5f88845 commit b0848c9
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 b0848c9

Please sign in to comment.