From 6b0135965c52dafe132be6fa33c77aec23f9cb91 Mon Sep 17 00:00:00 2001 From: Roman Krasiuk Date: Fri, 21 Apr 2023 13:47:05 +0300 Subject: [PATCH] chore(trie): remove obsolete sender type (#2331) --- crates/trie/src/hash_builder.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/trie/src/hash_builder.rs b/crates/trie/src/hash_builder.rs index ab615cc7c2..4e2801f492 100644 --- a/crates/trie/src/hash_builder.rs +++ b/crates/trie/src/hash_builder.rs @@ -8,11 +8,7 @@ use reth_primitives::{ trie::{BranchNodeCompact, HashBuilderState, HashBuilderValue, TrieMask}, H256, }; -use std::{collections::BTreeMap, fmt::Debug, sync::mpsc}; - -/// A type alias for a sender of branch nodes. -/// Branch nodes are sent by the Hash Builder to be stored in the database. -pub type BranchNodeSender = mpsc::Sender<(Nibbles, BranchNodeCompact)>; +use std::{collections::BTreeMap, fmt::Debug}; /// A component used to construct the root hash of the trie. The primary purpose of a Hash Builder /// is to build the Merkle proof that is essential for verifying the integrity and authenticity of