Fixed banning process.

This commit is contained in:
Revertron
2021-04-19 23:36:08 +02:00
parent 068ff395f7
commit e0425f46dc
3 changed files with 10 additions and 3 deletions
+1 -3
View File
@@ -635,9 +635,7 @@ impl Chain {
}
pub fn update_max_height(&mut self, height: u64) {
if height > self.max_height {
self.max_height = height;
}
self.max_height = height;
}
/// Check if this block can be added to our blockchain