From 6f8757a7c817cfe692a5a79780a10393b488edce Mon Sep 17 00:00:00 2001 From: Dan Norris Date: Wed, 25 Sep 2024 12:24:43 -0400 Subject: [PATCH] chore: fix typo on error when reading a xkey (#52) Signed-off-by: Dan Norris --- src/xkeys.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xkeys.rs b/src/xkeys.rs index d6dd6eb..2b2dbb1 100644 --- a/src/xkeys.rs +++ b/src/xkeys.rs @@ -92,7 +92,7 @@ impl XKey { if ty != PREFIX_BYTE_CURVE { return Err(err!( InvalidPrefix, - "Expect a cruve, got {:?}", + "Expected a curve, got {:?}", KeyPairType::from(ty) )); }