utterly nitpicking but i was annoyed (#1038)

This commit is contained in:
c r 2022-03-16 04:15:49 -05:00 committed by GitHub
parent ff29e96380
commit db331eeeb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ use std::ops::{Range, RangeFrom, RangeTo};
/// A log produced by a transaction.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct Log {
/// H160
/// H160. the contract that emitted the log
pub address: Address,
/// topics: Array of 0 to 4 32 Bytes of indexed log arguments.
@ -41,7 +41,7 @@ pub struct Log {
#[serde(skip_serializing_if = "Option::is_none")]
pub transaction_index: Option<U64>,
/// Integer of the log index position in the block. Noe if it's a pending log.
/// Integer of the log index position in the block. None if it's a pending log.
#[serde(rename = "logIndex")]
#[serde(skip_serializing_if = "Option::is_none")]
pub log_index: Option<U256>,
@ -58,7 +58,7 @@ pub struct Log {
pub log_type: Option<String>,
/// True when the log was removed, due to a chain reorganization.
/// false if its a valid log.
/// false if it's a valid log.
#[serde(skip_serializing_if = "Option::is_none")]
pub removed: Option<bool>,
}