Update examples (1)

This commit is contained in:
chriseth
2019-12-12 17:04:19 +01:00
parent 527e33a0eb
commit 3f48dfae6a
2 changed files with 68 additions and 15 deletions
+4 -1
View File
@@ -89,7 +89,10 @@ activate themselves.
);
// If the bid is not higher, send the
// money back.
// money back (the failing require
// will revert all changes in this
// function execution including
// it having received the money).
require(
msg.value > highestBid,
"There already is a higher bid."