This commit is contained in:
Mayukha Vadari
2026-06-29 20:07:58 -04:00
parent b8fd6c2084
commit 6c8746cbf3
3 changed files with 8 additions and 5 deletions

View File

@@ -390,10 +390,7 @@ CheckCash::doApply()
STAmount const flowDeliver{
optDeliverMin ? maxDeliverMin() : ctx_.tx.getFieldAmount(sfAmount)};
auto applyViewContext = ApplyViewContext(
{.view = psb,
.tx = ctx_.tx,
.reserveContext = ReserveContext::makeFromTx(psb, ctx_.tx)});
auto applyViewContext = ApplyViewContext::makeFromTx(psb, ctx_.tx);
auto const sponsorSle = applyViewContext.reserveContext.sponsorSle;
// Check reserve. Return destination account SLE if enough reserve,