Open eshon opened 5 years ago
➤ Thomas Zander commented:
Yes. Recent security enhancements. Can you try changing the statement into this?: if (!recipient.send(amount)) throw;
➤ robertock commented:
The suggestion worked.
➤ Adwind commented:
Error compiling:
Migrations.sol:7:3: Error: Expected token Semicolon got 'RBrace' } ^ Compilation failed. See above.
With Truffle 2.0.7, I am trying to compile MyConference.sol. I get this error. Any recent change on Solidity affecting this code ?
Error compiling:
MyConference.sol:36:5: Warning: Return value of low-level calls not used. recipient.send(amount); ^--------------------^ Compiliation failed. See above.