From b8e8d4f548e5ede064cf4347070f84e346f3b54c Mon Sep 17 00:00:00 2001 From: teor Date: Thu, 20 Aug 2020 08:31:07 +1000 Subject: [PATCH] fix: Remove some deeply-nested instrument spans Closes #923. --- zebrad/src/commands/start/sync.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/zebrad/src/commands/start/sync.rs b/zebrad/src/commands/start/sync.rs index bbc0037b..866fcafd 100644 --- a/zebrad/src/commands/start/sync.rs +++ b/zebrad/src/commands/start/sync.rs @@ -335,7 +335,6 @@ where /// Queue a download for the genesis block, if it isn't currently known to /// our node. - #[instrument(skip(self))] async fn request_genesis(&mut self) -> Result<(), Report> { // Due to Bitcoin protocol limitations, we can't request the genesis // block using our standard tip-following algorithm: @@ -422,7 +421,6 @@ where /// Returns `Err(_)` if an error occurs. /// /// TODO: handle multiple tips in the state. - #[instrument(skip(self))] async fn state_contains(&mut self, hash: block::Hash) -> Result { match self .state