Questions tagged [receive]

`receive` is a keyword that was introduced in Solidity 0.6.x that is used as a fallback function that is only able to receive ether.

1 question with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
25 views

Failing to send() 1 wei from one contract to another

The following code is supposed to send 1 wei from the current contract to a newly created contract. The recipient contract gets created successfully and the sending contract has a positive balance, ...