mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix: populate transaction trace error field (#3627)
This commit is contained in:
@ -321,9 +321,10 @@ impl CallTraceNode {
|
||||
pub(crate) fn parity_transaction_trace(&self, trace_address: Vec<usize>) -> TransactionTrace {
|
||||
let action = self.parity_action();
|
||||
let output = self.parity_trace_output();
|
||||
let error = self.trace.as_error();
|
||||
TransactionTrace {
|
||||
action,
|
||||
error: None,
|
||||
error,
|
||||
result: Some(output),
|
||||
trace_address,
|
||||
subtraces: self.children.len(),
|
||||
|
||||
Reference in New Issue
Block a user