fix constant REORG (due to fixed GetDisplayPrevHash())

This commit is contained in:
Larry Ruane 2019-10-07 21:02:38 -06:00
parent 886250e660
commit e4445ddace
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ func main() {
if timeout_count > 0 { if timeout_count > 0 {
timeout_count-- timeout_count--
} }
phash = hex.EncodeToString(block.GetPrevHash()) phash = hex.EncodeToString(block.GetDisplayPrevHash())
//check for reorgs once we have initial block hash from startup //check for reorgs once we have initial block hash from startup
if hash != phash && reorg_count != -1 { if hash != phash && reorg_count != -1 {
reorg_count++ reorg_count++