fix constant REORG (due to fixed GetDisplayPrevHash())
This commit is contained in:
parent
886250e660
commit
e4445ddace
|
@ -149,7 +149,7 @@ func main() {
|
|||
if timeout_count > 0 {
|
||||
timeout_count--
|
||||
}
|
||||
phash = hex.EncodeToString(block.GetPrevHash())
|
||||
phash = hex.EncodeToString(block.GetDisplayPrevHash())
|
||||
//check for reorgs once we have initial block hash from startup
|
||||
if hash != phash && reorg_count != -1 {
|
||||
reorg_count++
|
||||
|
|
Loading…
Reference in New Issue