From 1b1c7ad2870a5ce530c98986224f1498a011bd12 Mon Sep 17 00:00:00 2001 From: FabijanC Date: Wed, 17 Jul 2024 11:33:19 +0200 Subject: [PATCH] Fix FeltVisitor expecting message --- crates/starknet-types-core/src/felt/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/starknet-types-core/src/felt/mod.rs b/crates/starknet-types-core/src/felt/mod.rs index df12633..062426c 100644 --- a/crates/starknet-types-core/src/felt/mod.rs +++ b/crates/starknet-types-core/src/felt/mod.rs @@ -960,7 +960,7 @@ mod serde_impl { type Value = Felt; fn expecting(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result { - formatter.write_str("Failed to deserialize hexadecimal string") + formatter.write_str("a felt hexadecimal string") } fn visit_str(self, value: &str) -> Result