Change to snakecase
This commit is contained in:
parent
3632a98062
commit
9552ca7bb3
@ -371,8 +371,8 @@ impl HeaderChain {
|
|||||||
Some(header) => Some(header),
|
Some(header) => Some(header),
|
||||||
None => {
|
None => {
|
||||||
match self.db.get(self.col, &hash) {
|
match self.db.get(self.col, &hash) {
|
||||||
Ok(dbValue) => {
|
Ok(db_value) => {
|
||||||
dbValue.map(|x| x.to_vec()).map(encoded::Header::new)
|
db_value.map(|x| x.to_vec()).map(encoded::Header::new)
|
||||||
.and_then(|header| {
|
.and_then(|header| {
|
||||||
cache.insert_block_header(hash.clone(), header.clone());
|
cache.insert_block_header(hash.clone(), header.clone());
|
||||||
Some(header)
|
Some(header)
|
||||||
|
Loading…
Reference in New Issue
Block a user