From b6aa98f662fffa1520c25b6062414115b3c78f7e Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 16 Apr 2018 02:24:40 +0300 Subject: [PATCH] Test --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 2101efe61..bed13eb46 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3938,7 +3938,7 @@ bool ProcessNewBlock(int32_t height,CValidationState &state, CNode* pfrom, CBloc mapBlockSource[pindex->GetBlockHash()] = pfrom->GetId(); } CheckBlockIndex(); - if (!ret && 0) + if (!ret) return error("%s: AcceptBlock FAILED", __func__); }