Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Aug 28, 2023
1 parent 2936d68 commit c37cdd7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/dyn-abi/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ impl Error {

#[cfg(feature = "eip712")]
pub(crate) fn type_mismatch(expected: &crate::DynSolType, actual: &serde_json::Value) -> Self {
#[allow(unused_imports)]
use alloc::string::ToString;
Self::TypeMismatch {
expected: expected.sol_type_name().into_owned(),
actual: actual.to_string(),
Expand Down

0 comments on commit c37cdd7

Please sign in to comment.