Skip to content

Commit

Permalink
Minor grammar fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchPierias committed Oct 27, 2018
1 parent 93d966f commit a37422f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 01_Hashes/README.md
Expand Up @@ -6,7 +6,7 @@ include <eosiolib/crypto.h>
```
Notice the *.h* file extension in our `crypto.h` include? This means we're using a *C* library and not *C++*, so our methods will be expecting *C* type inputs. Now let's create an action which will take a string as input, hash our string and then print the result.

We will start by making allocating a `checksum256` reference.
We will start by allocating a `checksum256` reference.
```
checksum256 sum{}
```
Expand All @@ -17,4 +17,4 @@ sha256(const_cast<char*>(str.c_str()), str.size(), &sum);
Now all that remains is printing the result.
```
printhex(&sum, sizeof(sum));
```
```

0 comments on commit a37422f

Please sign in to comment.