mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +00:00
add 'isSet' to tell if a RippleAddress is non-empty.
This commit is contained in:
@@ -71,6 +71,11 @@ void RippleAddress::clear()
|
||||
vchData.clear();
|
||||
}
|
||||
|
||||
bool RippleAddress::isSet() const
|
||||
{
|
||||
return nVersion != VER_NONE;
|
||||
}
|
||||
|
||||
std::string RippleAddress::humanAddressType() const
|
||||
{
|
||||
switch (nVersion)
|
||||
|
||||
Reference in New Issue
Block a user