From 9552ca7bb32f17b957bd5919ce3e776371b1b5c6 Mon Sep 17 00:00:00 2001 From: Adrian Brink Date: Thu, 6 Apr 2017 22:31:03 +0200 Subject: [PATCH] Change to snakecase --- ethcore/light/src/client/header_chain.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ethcore/light/src/client/header_chain.rs b/ethcore/light/src/client/header_chain.rs index ffefa0a92..615ffd89b 100644 --- a/ethcore/light/src/client/header_chain.rs +++ b/ethcore/light/src/client/header_chain.rs @@ -371,8 +371,8 @@ impl HeaderChain { Some(header) => Some(header), None => { match self.db.get(self.col, &hash) { - Ok(dbValue) => { - dbValue.map(|x| x.to_vec()).map(encoded::Header::new) + Ok(db_value) => { + db_value.map(|x| x.to_vec()).map(encoded::Header::new) .and_then(|header| { cache.insert_block_header(hash.clone(), header.clone()); Some(header)