fix tabs & height

This commit is contained in:
NikVolf 2016-11-17 18:00:56 +03:00
parent 7a0c9f44f6
commit b45d208b31
1 changed files with 2 additions and 1 deletions

View File

@ -224,7 +224,7 @@ impl Reorganization {
#[derive(Debug)]
pub enum BlockInsertedChain {
Disconnected,
Disconnected,
Main,
Side,
Rorganized(Reorganization),
@ -546,6 +546,7 @@ impl Storage {
// finaly canonizing the top block we are reorganizing to
try!(self.canonize_block(context, now_best + 1, hash));
reorganization.push_canonized(&hash);
reorganization.height = now_best + 1;
Ok(Some(reorganization))
}