Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Aug 29, 2023
1 parent b5c098d commit 48980af
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 48980af

Please sign in to comment.