refactor: use constructor functions (#13255)

This commit is contained in:
faheelsattar
2024-12-11 14:36:27 +05:00
committed by GitHub
parent d345ffc58c
commit 6b7bf2a0ad
2 changed files with 62 additions and 62 deletions

View File

@ -204,7 +204,7 @@ where
calls.push(call);
}
let block = BlockWithSenders { block, senders };
let block = BlockWithSenders::new_unchecked(block, senders);
let txs_kind =
if full_transactions { BlockTransactionsKind::Full } else { BlockTransactionsKind::Hashes };