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