From 8b488f04b56cddb988f4e1aa116e794ae1a72665 Mon Sep 17 00:00:00 2001 From: Jorge Olivero Date: Fri, 12 Apr 2019 02:39:33 -0500 Subject: [PATCH] src/types/trace_filtering.rs: update `Trace` struct (#213) --- src/types/trace_filtering.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/types/trace_filtering.rs b/src/types/trace_filtering.rs index 48423f7a..c619e505 100644 --- a/src/types/trace_filtering.rs +++ b/src/types/trace_filtering.rs @@ -82,7 +82,7 @@ pub struct Trace { /// Action pub action: Action, /// Result - pub result: Res, + pub result: Option, /// Trace address #[serde(rename = "traceAddress")] pub trace_address: Vec, @@ -102,6 +102,8 @@ pub struct Trace { pub block_hash: H256, #[serde(rename = "type")] action_type: ActionType, + // Error + pub error: Option, } /// Response