Skip to content

Add a "safe way to send ether" i.e. address.transfer #610

Closed
@chriseth

Description

@chriseth

address.send does not send along any gas and does not propagate exceptions. This is good for situation where we do not know the target, but those are limited in use as was discovered in the meantime. People resort to workarounds like recipient.call.value(x)(). Exactly this workaround should receive a name and it should propagate exceptions.

Suggestions for the name: transfer (sounds safer because transfer usually asks you to watch the whole process)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions