|
|
|
|
|
by scientaster
3334 days ago
|
|
Good analysis of the code, and nice correction. Agreed that you should always check your sends' return values, too! In this example you have to send more than the last guy, so I think a recursive call would still put in more ether than would be withdrawn. Still undesired though. If it were fleshed out more it should probably return the ether to the last depositor instead of the purchaser. Thanks for the feedback!; I'm tempted to turn this into an example Dapp later today. |
|