diff --git a/crates/rpc/rpc/src/debug.rs b/crates/rpc/rpc/src/debug.rs index 9bfb47330d49..e862bb93f607 100644 --- a/crates/rpc/rpc/src/debug.rs +++ b/crates/rpc/rpc/src/debug.rs @@ -411,9 +411,7 @@ where let frame: FlatCallFrame = inspector .with_transaction_gas_limit(env.tx.gas_limit) .into_parity_builder() - .into_localized_transaction_traces(tx_info) - .pop() - .unwrap(); + .into_localized_transaction_traces(tx_info); Ok(frame) }) .await?; @@ -803,9 +801,7 @@ where let frame: FlatCallFrame = inspector .with_transaction_gas_limit(env.tx.gas_limit) .into_parity_builder() - .into_localized_transaction_traces(tx_info) - .pop() - .unwrap(); + .into_localized_transaction_traces(tx_info); return Ok((frame.into(), res.state)); }