0

Warning: Failure condition of 'send' ignored. Consider using 'transfer' instead.

Is this a new compiler warning, and what exactly does it mean?

1

transfer reverts in the case that the call to the address given fails. send on the other hand doesn't, and instead returns true/false for a success/failure. If you don't do anything with that failure condition, then you get that warning

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.