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