Set error string for unparseable objects
This commit is contained in:
parent
714f9a4f0d
commit
a3277ea422
@ -1119,6 +1119,7 @@ bool CGovernanceObject::IsValidLocally(const CBlockIndex* pindex, std::string& s
|
||||
}
|
||||
|
||||
if(fUnparsable) {
|
||||
strError = "Object data unparseable";
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user