Skip to content

Commit

Permalink
Merge pull request ethereum#2696 from AdrianClv/patch-1
Browse files Browse the repository at this point in the history
Removes reference to stack depth attack
  • Loading branch information
chriseth authored Aug 4, 2017
2 parents bd9e910 + 8d832c7 commit e48730f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/solidity-by-example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,9 @@ activate themselves.
if (highestBidder != 0) {
// Sending back the money by simply using
// highestBidder.send(highestBid) is a security risk
// because it can be prevented by the caller by e.g.
// raising the call stack to 1023. It is always safer
// to let the recipients withdraw their money themselves.
// because it could execute an untrusted contract.
// It is always safer to let the recipients
// withdraw their money themselves.
pendingReturns[highestBidder] += highestBid;
}
highestBidder = msg.sender;
Expand Down

0 comments on commit e48730f

Please sign in to comment.