From 8e9310ffc40d4933d78185e95809bd654f00d53a Mon Sep 17 00:00:00 2001 From: pgherveou Date: Wed, 13 Nov 2024 23:15:16 +0100 Subject: [PATCH] fix clippy errors --- substrate/frame/revive/rpc/src/client.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/substrate/frame/revive/rpc/src/client.rs b/substrate/frame/revive/rpc/src/client.rs index 9f66a7543bd5..babd19e6407b 100644 --- a/substrate/frame/revive/rpc/src/client.rs +++ b/substrate/frame/revive/rpc/src/client.rs @@ -315,8 +315,8 @@ impl ClientInner { let event = event_details.as_event::().ok()??; Some(Log { - address: Some(event.contract), - topics: Some(event.topics), + address: event.contract, + topics: event.topics, data: Some(event.data.into()), block_number: Some(block_number), transaction_hash, @@ -340,7 +340,7 @@ impl ClientInner { gas_used.into(), success, transaction_hash, - transaction_index: transaction_index.into(), + transaction_index.into(), tx.r#type.bytes() );