@@ -70,7 +70,7 @@ impl TriePrefetch {
7070 let self_clone = Arc :: new( self . clone( ) ) ;
7171 let mut shutdown_rx = shutdown_rx. clone( ) ;
7272 tokio:: spawn( async move {
73- if let Err ( e) = self_clone. prefetch_once:: <DB >( consistent_view, hashed_state, count , & mut shutdown_rx) . await {
73+ if let Err ( e) = self_clone. prefetch_once:: <DB >( consistent_view, hashed_state, & mut shutdown_rx) . await {
7474 debug!( target: "trie::trie_prefetch" , ?e, "Error while prefetching trie storage" ) ;
7575 } ;
7676 } ) ;
@@ -139,13 +139,13 @@ impl TriePrefetch {
139139 self : Arc < Self > ,
140140 consistent_view : Arc < ConsistentDbView < DB , ProviderFactory < DB > > > ,
141141 hashed_state : HashedPostState ,
142- count : u64 ,
142+ // count: u64,
143143 shutdown_rx : & mut watch:: Receiver < bool > ,
144144 ) -> Result < ( ) , TriePrefetchError >
145145 where
146146 DB : Database ,
147147 {
148- debug ! ( "prefetch once started {:?}" , count) ;
148+ // debug!("prefetch once started {:?}", count);
149149
150150 let mut tracker = TrieTracker :: default ( ) ;
151151
@@ -243,7 +243,7 @@ impl TriePrefetch {
243243 "prefetched account trie"
244244 ) ;
245245
246- debug ! ( "prefetch once finished {:?}" , count) ;
246+ // debug!("prefetch once finished {:?}", count);
247247
248248 Ok ( ( ) )
249249 }
0 commit comments