chore(core): derive default for log (#1168)
This commit is contained in:
parent
ac3e12fe8a
commit
1b044652f0
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue