mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: use primitive transaction as PoolTransaction::Consensus (#13086)
This commit is contained in:
@ -44,8 +44,7 @@ fn main() {
|
||||
if let Some(recipient) = tx.to() {
|
||||
if args.is_match(&recipient) {
|
||||
// trace the transaction with `trace_call`
|
||||
let callrequest =
|
||||
transaction_to_call_request(tx.to_recovered_transaction());
|
||||
let callrequest = transaction_to_call_request(tx.to_consensus());
|
||||
let tracerequest = TraceCallRequest::new(callrequest)
|
||||
.with_trace_type(TraceType::Trace);
|
||||
if let Ok(trace_result) = traceapi.trace_call(tracerequest).await {
|
||||
|
||||
Reference in New Issue
Block a user