Skip to content

Commit

Permalink
Update docs/publickeys-signers.md
Browse files Browse the repository at this point in the history
Co-authored-by: Loris Leiva <[email protected]>
  • Loading branch information
MarkSackerberg and lorisleiva authored Nov 22, 2023
1 parent 3674023 commit 276133c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/publickeys-signers.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ In order to use these keypairs as signers throughout your application, you can u

```ts
const myKeypair = umi.eddsa.generateKeypair();
const myKeypairSigner = createSignerFromKeypair('eddsa',myKeypair);
const myKeypairSigner = createSignerFromKeypair(umi, myKeypair);
```

Note that the code snippet above is equivalent to using the `generateSigner` helper method described in the previous section.
Expand Down

0 comments on commit 276133c

Please sign in to comment.