fix(abigen): fix missing ident # (#2267)

This commit is contained in:
Matthias Seitz 2023-03-16 20:00:39 +01:00 committed by GitHub
parent 304fe0988d
commit 4e6dfe2414
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ fn derive_decode_from_log_impl(input: &DeriveInput, event: &Event) -> Result<Tok
#signature_check #signature_check
if topics.len() != 1usize || !data.is_empty() { if topics.len() != 1usize || !data.is_empty() {
return Err(::ethers_core::abi::Error::InvalidData); return Err(#ethers_core::abi::Error::InvalidData);
} }
#ethers_core::abi::Tokenizable::from_token(#ethers_core::abi::Token::Tuple(::std::vec::Vec::new())).map_err(|_|#ethers_core::abi::Error::InvalidData) #ethers_core::abi::Tokenizable::from_token(#ethers_core::abi::Token::Tuple(::std::vec::Vec::new())).map_err(|_|#ethers_core::abi::Error::InvalidData)