mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-31 11:00:23 +00:00
fix check
This commit is contained in:
@@ -350,7 +350,7 @@ checkInsufficientReserve(
|
||||
// A reserve-sponsored tx must carry a sponsor signature
|
||||
// (cosigning path) and/or have a pre-existing sponsorship SLE
|
||||
// (prefunded path). Absence of both is an internal invariant break.
|
||||
if (!sle && !tx.isFieldPresent(sfSponsorSignature))
|
||||
if (isReserveSponsored(tx) && !sle && !tx.isFieldPresent(sfSponsorSignature))
|
||||
return tecINTERNAL; // LCOV_EXCL_LINE
|
||||
|
||||
if (sle)
|
||||
|
||||
Reference in New Issue
Block a user