mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-05 17:56:49 +00:00
add reserve checks for SponsorTransfer
This commit is contained in:
@@ -53,7 +53,6 @@ struct Fees
|
||||
bool isAccountSponsored = false,
|
||||
std::size_t sponsoringAccountCount = 0) const
|
||||
{
|
||||
// return reserve + ownerCount * increment;
|
||||
return (isAccountSponsored ? XRPAmount(0) : reserve) +
|
||||
increment *
|
||||
(ownerCount + sponsoringOwnerCount - sponsoredOwnerCount) +
|
||||
|
||||
Reference in New Issue
Block a user