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 a6889776f4.

* updates

* fixes #1404

* approve failing test

* suggested changes done

* ISafeERC20 removed

* conflict fixes

* fixes #1456
pull/1491/head
Aniket 6 years ago committed by Nicolás Venturo
parent 79eb94d3cd
commit 4f356e35a9
  1. 6
      contracts/crowdsale/distribution/RefundableCrowdsale.sol

@ -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);
}
/**

Loading…
Cancel
Save