mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-02 08:55:53 +00:00
Antithesis instrumentation improvements (#5213)
* Rename ASSERT to XRPL_ASSERT * Upgrade to Anthithesis SDK 0.4.4, and use new 0.4.4 features * automatic cast to bool, like assert * Add instrumentation workflow to verify build with instrumentation enabled
This commit is contained in:
@@ -101,7 +101,7 @@ HashRouter::getFlags(uint256 const& key)
|
||||
bool
|
||||
HashRouter::setFlags(uint256 const& key, int flags)
|
||||
{
|
||||
ASSERT(flags != 0, "ripple::HashRouter::setFlags : valid input");
|
||||
XRPL_ASSERT(flags, "ripple::HashRouter::setFlags : valid input");
|
||||
|
||||
std::lock_guard lock(mutex_);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user