mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
parent
4ecbedbe74
commit
6f57519c60
@ -77,6 +77,11 @@ bool CProposalValidator::ValidateName()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(strName.size() > 40) {
|
||||||
|
strErrorMessages += "name exceeds 40 characters;";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
std::string strNameStripped = StripWhitespace(strName);
|
std::string strNameStripped = StripWhitespace(strName);
|
||||||
|
|
||||||
if(strNameStripped.empty()) {
|
if(strNameStripped.empty()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user