mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #2574 from ltfschoen/patch-4
Update solidity-by-example.rst. Fixes accepted bids
This commit is contained in:
commit
c167a31b17
@ -362,8 +362,8 @@ together with the bid. Since value transfers cannot
|
|||||||
be blinded in Ethereum, anyone can see the value.
|
be blinded in Ethereum, anyone can see the value.
|
||||||
|
|
||||||
The following contract solves this problem by
|
The following contract solves this problem by
|
||||||
accepting any value that is at least as large as
|
accepting any value that is larger than the highest
|
||||||
the bid. Since this can of course only be checked during
|
bid. Since this can of course only be checked during
|
||||||
the reveal phase, some bids might be **invalid**, and
|
the reveal phase, some bids might be **invalid**, and
|
||||||
this is on purpose (it even provides an explicit
|
this is on purpose (it even provides an explicit
|
||||||
flag to place invalid bids with high value transfers):
|
flag to place invalid bids with high value transfers):
|
||||||
|
Loading…
Reference in New Issue
Block a user