Skip to content

Commit

Permalink
Merge pull request #3 from Turupawn/patch-1
Browse files Browse the repository at this point in the history
README.md simple usage fixes
  • Loading branch information
colinnielsen authored Jul 22, 2023
2 parents 59b14d7 + 3cce858 commit fa0caef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ In your `Nargo.toml` file, add the following dependency:

```toml
[dependencies]
ecrecover = { tag = "v0.5.0", git = "https://github.com/colinnielsen/ecrecover" }
ecrecover = { tag = "v0.5.0", git = "https://github.com/colinnielsen/ecrecover-noir" }
```

## Simple Usage
Expand All @@ -34,7 +34,7 @@ fn main(
pub_key_y: [u8; 32],
signature: [u8; 64],
hashed_message: pub [u8; 32]
) -> Field {
) -> pub Field {
let address = ecrecover::ecrecover(pub_key_x, pub_key_y, signature, hashed_message);
std::println(address);

Expand Down

0 comments on commit fa0caef

Please sign in to comment.