mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update examples (1)
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user