From 5fb80dee40610f5f222f56bd90ad92acbef2cfc2 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 12 Apr 2019 01:33:33 -1100 Subject: [PATCH] Test --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index b9f6cd9ed..1537dea1c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5340,6 +5340,11 @@ bool AcceptBlock(int32_t *futureblockp,CBlock& block, CValidationState& state, C { fprintf(stderr,"reconsider height.%d\n",(int32_t)tmpptr->GetHeight()-1); ReconsiderBlock(tmpstate,tmpindex); + if ( (tmpindex=komodo_chainactive(tmpptr->GetHeight())) != 0 ) + { + fprintf(stderr,"reconsider height.%d\n",(int32_t)tmpptr->GetHeight()); + ReconsiderBlock(tmpstate,tmpindex); + } } } }