Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
Update event.rs (#1173)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkolasg authored Apr 24, 2022
1 parent a115e95 commit 9d53c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethers-contract/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ where
Ok(events)
}

fn parse_log(&self, log: Log) -> Result<D, ContractError<M>> {
pub fn parse_log(&self, log: Log) -> Result<D, ContractError<M>> {
D::decode_log(&RawLog { topics: log.topics, data: log.data.to_vec() }).map_err(From::from)
}
}

0 comments on commit 9d53c73

Please sign in to comment.