Skip to content

Commit

Permalink
refactor: use deserialize_str instead (#527)
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy authored Dec 14, 2023
1 parent 0df9ad3 commit f35f9de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starknet-ff/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ mod serde_field_element {
where
D: serde::Deserializer<'de>,
{
deserializer.deserialize_any(FieldElementVisitor)
deserializer.deserialize_str(FieldElementVisitor)
}
}

Expand Down

0 comments on commit f35f9de

Please sign in to comment.