Commit 4f356e35 by Aniket Committed by Nicolás Venturo

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

* updates

* fixes #1404

* approve failing test

* suggested changes done

* ISafeERC20 removed

* conflict fixes

* fixes #1456
parent 79eb94d3
......@@ -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);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment