Fix Variable Name Issues and Grammar Errors (#1231)

* Fix variable name issues and grammar errors

* reverted

* reverted2
This commit is contained in:
Anonim
2025-01-14 15:21:38 +02:00
committed by GitHub
parent 36a0d04ac4
commit d0020295f4
3 changed files with 3 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ Write a function called `appendToNumbers` that takes a `uint[] calldata` array c
At the contract level, add an `address` array called `senders` and a `uint` array called `timestamps`.
Write a function called `saveTimestamp` that takes a `uint` called `_unixTimestamp` as an argument. When called, it should add the address of the caller to the end of `senders` and the `_unixTimeStamp` to `timestamps`.
Write a function called `saveTimestamp` that takes a `uint` called `_unixTimestamp` as an argument. When called, it should add the address of the caller to the end of `senders` and the `_unixTimestamp` to `timestamps`.
:::tip

View File

@@ -31,7 +31,7 @@ Find the documentation for the `EnumerableSet` under _Utils_. This library will
Create a new file to work in and add the `pragma` and license identifier.
In Remix, you can import libraries directly from Github!
In Remix, you can import libraries directly from GitHub!
```solidity
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/structs/EnumerableSet.sol";

View File

@@ -149,7 +149,7 @@ Review the **Warning** in the [layout] section of the docs for more details!
### Add a Function to Update `age`
It would also be good to be able to update the `age` value. This problem has slightly different considerations. Sadly, `age` will never go down. It should also probably only go up by one year for each update. The `++` operator works in Solidity, so we can use that to create a function that simple increments age when called.
It would also be good to be able to update the `age` value. This problem has slightly different considerations. Sadly, `age` will never go down. It should also probably only go up by one year for each update. The `++` operator works in Solidity, so we can use that to create a function that simply increments age when called.
<details>