Merge pull request #2574 from ltfschoen/patch-4

Update solidity-by-example.rst. Fixes accepted bids
This commit is contained in:
Alex Beregszaszi 2017-07-18 11:29:49 +02:00 committed by GitHub
commit c167a31b17

View File

@ -362,8 +362,8 @@ together with the bid. Since value transfers cannot
be blinded in Ethereum, anyone can see the value.
The following contract solves this problem by
accepting any value that is at least as large as
the bid. Since this can of course only be checked during
accepting any value that is larger than the highest
bid. Since this can of course only be checked during
the reveal phase, some bids might be **invalid**, and
this is on purpose (it even provides an explicit
flag to place invalid bids with high value transfers):