Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

Commit

Permalink
Merge pull request #800 from nguyenbatam/fix_restart_nonde_empty_tomo…
Browse files Browse the repository at this point in the history
…x_state

fix restart node with number < TomoX hard fork
  • Loading branch information
thanhson1085 authored Oct 31, 2019
2 parents 934dab5 + d3995a0 commit 40214b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,11 @@ func (bc *BlockChain) repair(head **types.Block) error {
return nil
}
}
} else {
return nil
}
} else {
return nil
}
}
// Otherwise rewind one block and recheck state availability there
Expand Down

0 comments on commit 40214b1

Please sign in to comment.