Update on the example for BlindAction

In the Mist app, the Blind Action contract cannot compile because it cannot accept implicit conversion of integer to byte32. I just added the conversion method byte32 in line 470 for bid.blindedBid.
This commit is contained in:
Chim Kan
2017-08-24 12:03:27 -04:00
committed by GitHub
parent d3fd6a8800
commit efe9d55ab2
+1 -1
View File
@@ -467,7 +467,7 @@ high or low invalid bids.
}
// Make it impossible for the sender to re-claim
// the same deposit.
bid.blindedBid = 0;
bid.blindedBid = bytes32(0);
}
msg.sender.transfer(refund);
}