Skip to content
This repository was archived by the owner on Dec 10, 2020. It is now read-only.

Commit f88973e

Browse files
authored
Merge pull request #18 from panpan2/README-API-update
Update the ethash.run arguments in README to match the actual arguments
2 parents 07b60e6 + 3990a7d commit f88973e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ Creates a cache. NOTE: this is automatically done for in - [`ethash.verifyPOW(b
6767
Runs ethash on a give val/nonce pair. NOTE: you need to run [`ethash.mkcache(cacheSize, seed)`](#ethashverifypowcachesize-seed) first before using this function.
6868

6969
**Parameters**
70-
- `cachSize` - the size of the cach
71-
- `seed` - the seed as a `Buffer`
70+
- `val` - value to run ethash on e.g. the header hash
71+
- `nonce` - the nonce used for this hash attempt
7272
- `fullsize` - the fullsize of the cache.
7373

7474
**Return**

0 commit comments

Comments
 (0)