From a3277ea4227a44f5a36435d6cae7ea22cf6726b7 Mon Sep 17 00:00:00 2001 From: Tim Flynn Date: Fri, 11 Nov 2016 16:07:28 -0500 Subject: [PATCH] Set error string for unparseable objects --- src/governance.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/governance.cpp b/src/governance.cpp index f8f616473..cd28a05f6 100644 --- a/src/governance.cpp +++ b/src/governance.cpp @@ -1119,6 +1119,7 @@ bool CGovernanceObject::IsValidLocally(const CBlockIndex* pindex, std::string& s } if(fUnparsable) { + strError = "Object data unparseable"; return false; }