From 1b044652f061092852e4e855d49da7a1cc351cca Mon Sep 17 00:00:00 2001 From: Rohit Narurkar Date: Sat, 23 Apr 2022 10:40:01 +0200 Subject: [PATCH] chore(core): derive default for log (#1168) --- ethers-core/src/types/log.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethers-core/src/types/log.rs b/ethers-core/src/types/log.rs index dd70fa79..3815f158 100644 --- a/ethers-core/src/types/log.rs +++ b/ethers-core/src/types/log.rs @@ -9,7 +9,7 @@ use serde::{ use std::ops::{Range, RangeFrom, RangeTo}; /// A log produced by a transaction. -#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] +#[derive(Debug, Clone, Default, PartialEq, Serialize, Deserialize)] pub struct Log { /// H160. the contract that emitted the log pub address: Address,