From 1e45b9bc5debedf68c396e4433bf96c89be2616e Mon Sep 17 00:00:00 2001 From: NikVolf Date: Tue, 27 Dec 2016 15:05:01 +0300 Subject: [PATCH] remove outdated todo --- db/src/storage.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/db/src/storage.rs b/db/src/storage.rs index fbd0bde5..f7dc2891 100644 --- a/db/src/storage.rs +++ b/db/src/storage.rs @@ -35,7 +35,6 @@ const _COL_RESERVED6: u32 = 10; const DB_VERSION: u32 = 1; -// TODO: check how bitcoin core deals with long forks const MAX_FORK_ROUTE_PRESET: usize = 2048; const TRANSACTION_CACHE_SIZE: usize = 524288; @@ -379,7 +378,6 @@ impl Storage { match self.maybe_reorganize_fallable(context, hash) { Ok(result) => Ok(result), Err(e) => { - // todo: log error here context.restore(); warn!("Error while reorganizing to {}: {:?}", hash, e); Err(e)