remove assert. not the proper way to handle this

This commit is contained in:
Miguel Freitas 2013-11-20 14:49:37 -02:00
parent 408fec30ed
commit 6fae6f216b

View File

@ -83,7 +83,7 @@ std::string CTransaction::GetUsername() const
if(userName.IsSmallString()) {
return userName.ExtractSmallString();
}
assert(!"username not small string");
//assert(!"username not small string");
return std::string();
}
@ -93,7 +93,7 @@ uint256 CTransaction::GetUsernameHash() const
return SerializeHash(userName.ExtractSmallString());
}
// [MF] TODO: remove this assert later, it will fail for spammessage.
assert(!"username not small string");
//assert(!"username not small string");
return uint256();
}