mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 15:10:34 +00:00
fix build issues
This commit is contained in:
@@ -95,7 +95,6 @@ checkInsufficientReserve(
|
||||
ApplyViewContext const& ctx,
|
||||
SLE::const_ref accSle,
|
||||
STAmount const& accBalance,
|
||||
SLE::const_ref sponsorSle,
|
||||
Adjustment adj,
|
||||
beast::Journal j = beast::Journal{beast::Journal::getNullSink()});
|
||||
|
||||
|
||||
@@ -61,8 +61,8 @@ escrowUnlockApplyHelper<Issue>(
|
||||
// Can the account cover the trust line's reserve?
|
||||
auto const sponsorSle = ctx.reserveContext.sponsorSle;
|
||||
|
||||
if (auto const ret = checkInsufficientReserve(
|
||||
ctx, sleDest, xrpBalance, sponsorSle, {.ownerCountDelta = 1}, journal);
|
||||
if (auto const ret =
|
||||
checkInsufficientReserve(ctx, sleDest, xrpBalance, {.ownerCountDelta = 1}, journal);
|
||||
!isTesSuccess(ret))
|
||||
{
|
||||
JLOG(journal.trace()) << "Trust line does not exist. "
|
||||
@@ -188,8 +188,8 @@ escrowUnlockApplyHelper<MPTIssue>(
|
||||
{
|
||||
auto const sponsorSle = ctx.reserveContext.sponsorSle;
|
||||
|
||||
if (auto const ret = checkInsufficientReserve(
|
||||
ctx, sleDest, xrpBalance, sponsorSle, {.ownerCountDelta = 1}, journal);
|
||||
if (auto const ret =
|
||||
checkInsufficientReserve(ctx, sleDest, xrpBalance, {.ownerCountDelta = 1}, journal);
|
||||
!isTesSuccess(ret))
|
||||
return ret;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user