mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
refactor: use constructor functions (#13255)
This commit is contained in:
@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user