mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
very small refactor (#10382)
This commit is contained in:
@ -517,7 +517,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn chain_append() {
|
||||
let block: SealedBlockWithSenders = SealedBlockWithSenders::default();
|
||||
let block = SealedBlockWithSenders::default();
|
||||
let block1_hash = B256::new([0x01; 32]);
|
||||
let block2_hash = B256::new([0x02; 32]);
|
||||
let block3_hash = B256::new([0x03; 32]);
|
||||
@ -647,7 +647,7 @@ mod tests {
|
||||
#[test]
|
||||
fn receipts_by_block_hash() {
|
||||
// Create a default SealedBlockWithSenders object
|
||||
let block: SealedBlockWithSenders = SealedBlockWithSenders::default();
|
||||
let block = SealedBlockWithSenders::default();
|
||||
|
||||
// Define block hashes for block1 and block2
|
||||
let block1_hash = B256::new([0x01; 32]);
|
||||
|
||||
Reference in New Issue
Block a user