Skip to content

Commit

Permalink
Fixed the example contract
Browse files Browse the repository at this point in the history
  • Loading branch information
lsaether committed Jan 17, 2018
1 parent 184c2e0 commit b96053d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/_examples/DelayedPayment.sol
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ contract DelayedPayment {
30000000000 wei, // The gasprice for the transaction (aka 30 gwei)
12345 wei, // The donation included in the transaction.
224455 wei, // The payment included in the transaction.
20000 wei // The required amount of wei to claimer must send as deposit.
20000 wei // The required amount of wei the claimer must send as deposit.
]
);
}
Expand All @@ -46,7 +46,7 @@ contract DelayedPayment {
function payout()
public returns (bool)
{
require(getNow() < lockedUntil);
require(getNow() >= lockedUntil);
recipient.transfer(this.balance);
return true;
}
Expand All @@ -57,4 +57,4 @@ contract DelayedPayment {
return block.number;
}

}
}

0 comments on commit b96053d

Please sign in to comment.