From 9d53c73af0841d25729c02417437baefb9e94d2e Mon Sep 17 00:00:00 2001 From: Nicolas Gailly Date: Sun, 24 Apr 2022 15:10:21 +0100 Subject: [PATCH] Update event.rs (#1173) --- ethers-contract/src/event.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethers-contract/src/event.rs b/ethers-contract/src/event.rs index 370bcd70..d2b7fcf7 100644 --- a/ethers-contract/src/event.rs +++ b/ethers-contract/src/event.rs @@ -186,7 +186,7 @@ where Ok(events) } - fn parse_log(&self, log: Log) -> Result> { + pub fn parse_log(&self, log: Log) -> Result> { D::decode_log(&RawLog { topics: log.topics, data: log.data.to_vec() }).map_err(From::from) } }