mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Let 'isValid' inline.
This commit is contained in:
@@ -35,11 +35,6 @@ RippleAddress::RippleAddress() : mIsValid(false)
|
||||
nVersion = VER_NONE;
|
||||
}
|
||||
|
||||
bool RippleAddress::isValid() const
|
||||
{
|
||||
return mIsValid;
|
||||
}
|
||||
|
||||
void RippleAddress::clear()
|
||||
{
|
||||
nVersion = VER_NONE;
|
||||
|
||||
@@ -28,7 +28,7 @@ public:
|
||||
RippleAddress();
|
||||
|
||||
// For public and private key, checks if they are legal.
|
||||
bool isValid() const;
|
||||
bool isValid() const { return mIsValid; }
|
||||
|
||||
void clear();
|
||||
bool isSet() const;
|
||||
|
||||
Reference in New Issue
Block a user