Skip to content

Commit

Permalink
chore(core): derive default for log (gakonst#1168)
Browse files Browse the repository at this point in the history
  • Loading branch information
roynalnaruto committed Apr 23, 2022
1 parent ac3e12f commit 1b04465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethers-core/src/types/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1b04465

Please sign in to comment.