From f5877fe04b8bbd7a9570d0390fd90e5d5ad92908 Mon Sep 17 00:00:00 2001 From: MexicanAce Date: Mon, 25 Sep 2023 17:53:26 +0100 Subject: [PATCH] Fix linting --- src/node.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/node.rs b/src/node.rs index e2ad4418..e7476236 100644 --- a/src/node.rs +++ b/src/node.rs @@ -717,11 +717,7 @@ impl InMemoryNode { let mut block_hashes = HashMap::::new(); block_hashes.insert(0, H256::zero()); let mut blocks = HashMap::>::new(); - blocks.insert( - H256::zero(), - create_empty_block(0, 0, 1), - ); - + blocks.insert(H256::zero(), create_empty_block(0, 0, 1)); InMemoryNodeInner { current_timestamp: NON_FORK_FIRST_BLOCK_TIMESTAMP,