clang-tidy go get stung by a bee

This commit is contained in:
Mayukha Vadari
2026-06-29 13:20:35 -04:00
parent 0864dfc19e
commit 2759dfb36f

View File

@@ -3,7 +3,6 @@
#include <xrpl/basics/Log.h>
#include <xrpl/basics/scope.h>
#include <xrpl/core/ServiceRegistry.h>
#include <xrpl/ledger/ApplyView.h>
#include <xrpl/ledger/PaymentSandbox.h>
#include <xrpl/ledger/View.h>
#include <xrpl/ledger/helpers/AccountRootHelpers.h>
@@ -389,7 +388,7 @@ CheckCash::doApply()
STAmount const flowDeliver{
optDeliverMin ? maxDeliverMin() : ctx_.tx.getFieldAmount(sfAmount)};
auto const sponsorSle = getTxReserveSponsor({psb, ctx_.tx});
auto const sponsorSle = getTxReserveSponsor({.view = psb, .tx = ctx_.tx});
if (!sponsorSle)
return sponsorSle.error(); // LCOV_EXCL_LINE