mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 22:08:30 +00:00
Run rustfmt on entire codebase
Signed-off-by: Paul Hauner <paul@paulhauner.com>
This commit is contained in:
@@ -44,7 +44,8 @@ impl DiskDB {
|
||||
let db = match columns {
|
||||
None => DB::open(&options, db_path),
|
||||
Some(columns) => DB::open_cf(&options, db_path, columns),
|
||||
}.expect("Unable to open local database");;
|
||||
}
|
||||
.expect("Unable to open local database");;
|
||||
|
||||
Self { db }
|
||||
}
|
||||
|
||||
@@ -42,10 +42,10 @@ mod tests {
|
||||
use super::super::super::MemoryDB;
|
||||
use super::*;
|
||||
|
||||
use std::sync::Arc;
|
||||
use ssz::ssz_encode;
|
||||
use types::Hash256;
|
||||
use std::sync::Arc;
|
||||
use types::test_utils::{SeedableRng, TestRandom, XorShiftRng};
|
||||
use types::Hash256;
|
||||
|
||||
test_crud_for_store!(BeaconStateStore, DB_COLUMN);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user