Skip to content

Commit

Permalink
src/types/trace_filtering.rs: update Trace struct (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Olivero authored and tomusdrw committed Apr 12, 2019
1 parent 91639ff commit 8b488f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/types/trace_filtering.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ pub struct Trace {
/// Action
pub action: Action,
/// Result
pub result: Res,
pub result: Option<Res>,
/// Trace address
#[serde(rename = "traceAddress")]
pub trace_address: Vec<usize>,
Expand All @@ -102,6 +102,8 @@ pub struct Trace {
pub block_hash: H256,
#[serde(rename = "type")]
action_type: ActionType,
// Error
pub error: Option<String>,
}

/// Response
Expand Down

0 comments on commit 8b488f0

Please sign in to comment.