mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix RIPD-166:
* Allow RPC commands sign and submit to sign using the regular key. * Allow command line RPC command submit to take an "offline" flag. * Mark SerializedObject.getFlags() as const.
This commit is contained in:
@@ -558,7 +558,7 @@ bool STObject::clearFlag (std::uint32_t f)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool STObject::isFlag (std::uint32_t f)
|
||||
bool STObject::isFlag (std::uint32_t f) const
|
||||
{
|
||||
return (getFlags () & f) == f;
|
||||
}
|
||||
|
||||
@@ -156,7 +156,7 @@ public:
|
||||
|
||||
bool setFlag (std::uint32_t);
|
||||
bool clearFlag (std::uint32_t);
|
||||
bool isFlag(std::uint32_t);
|
||||
bool isFlag(std::uint32_t) const;
|
||||
std::uint32_t getFlags () const;
|
||||
|
||||
uint256 getHash (std::uint32_t prefix) const;
|
||||
|
||||
Reference in New Issue
Block a user