chore(core): derive default for log (#1168)

This commit is contained in:
Rohit Narurkar 2022-04-23 10:40:01 +02:00 committed by GitHub
parent ac3e12fe8a
commit 1b044652f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ use serde::{
use std::ops::{Range, RangeFrom, RangeTo}; use std::ops::{Range, RangeFrom, RangeTo};
/// A log produced by a transaction. /// A log produced by a transaction.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[derive(Debug, Clone, Default, PartialEq, Serialize, Deserialize)]
pub struct Log { pub struct Log {
/// H160. the contract that emitted the log /// H160. the contract that emitted the log
pub address: Address, pub address: Address,