Skip to content

Commit

Permalink
fix(abigen): fix missing ident # (#2267)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Mar 16, 2023
1 parent 304fe09 commit 4e6dfe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethers-contract/ethers-contract-derive/src/event.rs
Expand Up @@ -207,7 +207,7 @@ fn derive_decode_from_log_impl(input: &DeriveInput, event: &Event) -> Result<Tok
#signature_check

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)
Expand Down

0 comments on commit 4e6dfe2

Please sign in to comment.