Skip to content

Commit

Permalink
Semaphore Identity example code bug fix (Fix #848) (#849)
Browse files Browse the repository at this point in the history
* Semaphore identity example code bug fix

* Receive suggestion for consistency

---------

Co-authored-by: weipooppys93030 <[email protected]>
  • Loading branch information
csiejimmyliu and weipooppys93030 authored Aug 12, 2024
1 parent de7bdd6 commit 5ef73e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/identity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ import { Identity } from "@semaphore-protocol/identity"
const message = "message"
const identity = new Identity()

const signature = identity.signMessage("message", signature)
const signature = identity.signMessage(message)

Identity.verifySignature(message, signature, identity.publicKey)
```

0 comments on commit 5ef73e2

Please sign in to comment.