|
|
|
@ -83,7 +83,7 @@ std::string CTransaction::GetUsername() const
@@ -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
@@ -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(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|