mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Don't use getValue for isZero
This commit is contained in:
@@ -589,7 +589,7 @@ TransactionEngineResult TransactionEngine::doCreditSet(const SerializedTransacti
|
||||
sleRippleState->setFlag(uFlags);
|
||||
}
|
||||
// Line does not exist.
|
||||
else if (!saLimitAmount.getValue())
|
||||
else if (saLimitAmount.isZero())
|
||||
{
|
||||
std::cerr << "doCreditSet: Setting non-existant ripple line to 0." << std::endl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user