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

Commit 1b04465

Browse files
authored
chore(core): derive default for log (#1168)
1 parent ac3e12f commit 1b04465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ethers-core/src/types/log.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use serde::{
99
use std::ops::{Range, RangeFrom, RangeTo};
1010

1111
/// A log produced by a transaction.
12-
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
12+
#[derive(Debug, Clone, Default, PartialEq, Serialize, Deserialize)]
1313
pub struct Log {
1414
/// H160. the contract that emitted the log
1515
pub address: Address,

0 commit comments

Comments
 (0)