Replaced test DB with a new one, fixed tests.
This commit is contained in:
@@ -997,6 +997,6 @@ pub mod tests {
|
|||||||
let settings = Settings::default();
|
let settings = Settings::default();
|
||||||
let mut chain = Chain::new(&settings, "./tests/blockchain.db");
|
let mut chain = Chain::new(&settings, "./tests/blockchain.db");
|
||||||
chain.check_chain(u64::MAX);
|
chain.check_chain(u64::MAX);
|
||||||
assert_eq!(chain.get_height(), 2);
|
assert_eq!(chain.get_height(), 149);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Binary file not shown.
Reference in New Issue
Block a user