Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
tequdev committed Oct 29, 2024
1 parent 0031e2e commit 29b978b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ripple/app/tx/impl/Transactor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1465,14 +1465,16 @@ Transactor::addWeakTSHFromSandbox(detail::ApplyViewBase const& pv)

AccountID const& lowAcc = std::get<0>(tpl);
AccountID const& highAcc = std::get<1>(tpl);
if (ctx_.view().rules().enabled(featureIOUIssuerWeakTSH)){
if (ctx_.view().rules().enabled(featureIOUIssuerWeakTSH))
{
additionalWeakTSH_.emplace(lowAcc);
additionalWeakTSH_.emplace(highAcc);
}
else
{
STAmount const& amt = entry.second;
additionalWeakTSH_.emplace(amt >= beast::zero ? lowAcc : highAcc);
additionalWeakTSH_.emplace(
amt >= beast::zero ? lowAcc : highAcc);
}
}
}
Expand Down

0 comments on commit 29b978b

Please sign in to comment.