mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 08:46:46 +00:00
fixup! clang-tidy: Avoid nested "?:" in global Rules initialization
This commit is contained in:
@@ -65,7 +65,7 @@ setCurrentTransactionRules(std::optional<Rules> r)
|
||||
return MantissaRange::MantissaScale::LargeLegacy;
|
||||
return MantissaRange::MantissaScale::Small;
|
||||
}();
|
||||
Number::setMantissaRange(range);
|
||||
Number::setMantissaScale(range);
|
||||
|
||||
*getCurrentTransactionRulesRef() = std::move(r);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user