Fix example contracts

This commit is contained in:
Arkadiy Kukarkin
2016-12-21 14:26:32 -05:00
parent bb22cd62ac
commit 9c81dd29bb
4 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ contract StoppableBid is Stoppable, PullPayment {
address public highestBidder;
uint public highestBid;
function bid() external stopInEmergency {
function bid() external payable stopInEmergency {
if (msg.value <= highestBid) throw;
if (highestBidder != 0) {