From 276133c8de3ea89a509702e3b53dff5571a0aa89 Mon Sep 17 00:00:00 2001 From: MarkSackerberg <93528482+MarkSackerberg@users.noreply.github.com> Date: Wed, 22 Nov 2023 16:27:40 +0100 Subject: [PATCH] Update docs/publickeys-signers.md Co-authored-by: Loris Leiva --- docs/publickeys-signers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/publickeys-signers.md b/docs/publickeys-signers.md index c406900..027a69a 100644 --- a/docs/publickeys-signers.md +++ b/docs/publickeys-signers.md @@ -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.