Closed makoto closed 8 years ago
The compiler used in Truffle 2.0.8 raises error if send is not wrapped with if()
send
if()
Instead of
msg.sender.send(msg.value);
do
if(msg.sender.send(msg.value);){}
whether you want to throw in case of failure is another story.
throw
https://github.com/makoto/blockparty/pull/18
The compiler used in Truffle 2.0.8 raises error if
send
is not wrapped withif()
Instead of
do
whether you want to
throw
in case of failure is another story.