Skip to content

Commit

Permalink
Merge pull request #812 from ChenBingWei1201/main
Browse files Browse the repository at this point in the history
fix: typo in 20_SendETH_en/readme.md
  • Loading branch information
AmazingAng authored Oct 19, 2024
2 parents 6286e36 + 6460da1 commit b8bfefd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Languages/en/20_SendETH_en/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ In the `ReceiveETH` contract, when we call `getBalance()`, we can see the balanc

- Usage: `receiverAddress.send(value in Wei)`.
- The `gas` limit of `send()` is `2300`, which is enough to make the transfer, but not if the receiving contract has a gas-consuming `fallback()` or `receive()`.
- If `send()` fails, the transaction will be `reverted`.
- If `send()` fails, the transaction will not be `reverted`.
- The return value of `send()` is `bool`, which is the status of the transaction, you can choose to act on that.

Sample Code:
Expand Down

0 comments on commit b8bfefd

Please sign in to comment.