Commit b961eea8 by Francisco Giordano

fix claimRefund precondition

parent 070bcbcd
......@@ -35,7 +35,7 @@ contract RefundableCrowdsale is FinalizableCrowdsale {
// if crowdsale is unsuccessful, investors can claim refunds here
function claimRefund() {
require(hasEnded());
require(isFinalized);
require(!goalReached());
vault.refund(msg.sender);
......
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