From f4bc9e9ad94e199a5ee9833412129046a95570f0 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 23 Nov 2018 05:32:08 -1100 Subject: [PATCH] -> --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 4a30e634b..74cb6831e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6842,7 +6842,7 @@ fprintf(stderr,"netmsg: %s\n", strCommand.c_str()); LOCK(cs_main); - if (chainActive.LastTip() != 0 && chainActive.LastTip().GetHeight() > 100000 && IsInitialBlockDownload()) + if (chainActive.LastTip() != 0 && chainActive.LastTip()->GetHeight() > 100000 && IsInitialBlockDownload()) { fprintf(stderr,"dont process getheaders during initial download\n"); return true;