mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
fix clang-tidy
This commit is contained in:
@@ -363,7 +363,7 @@ CheckCash::doApply()
|
||||
// Check reserve. Return destination account SLE if enough reserve,
|
||||
// otherwise return nullptr.
|
||||
auto checkReserve = [&]() -> std::optional<WAccountRoot> {
|
||||
WAccountRoot const dst(accountID_, psb, j_);
|
||||
WAccountRoot dst(accountID_, psb, j_);
|
||||
|
||||
// Can the account cover the trust line's or MPT reserve?
|
||||
if (std::uint32_t const ownerCount = {dst->at(sfOwnerCount)};
|
||||
|
||||
Reference in New Issue
Block a user