mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-25 04:55:50 +00:00
Use deferred credits in XRPEndpointStep:
The XRPEndpointStep bypassed the logic in deferred credits and incorrectly counted funds acquired during a payment as available for use in the payment. It also incorrectly used the current ownerCount when calculating the reserve instead of the owner count as it was at the beginning of the payment (reducing the owner count is analogous to acquiring funds during a payment.)
This commit is contained in:
@@ -50,10 +50,10 @@ uint256 const featureTickets = feature("Tickets");
|
||||
uint256 const featureSusPay = feature("SusPay");
|
||||
uint256 const featureTrustSetAuth = feature("TrustSetAuth");
|
||||
uint256 const featureFeeEscalation = feature("FeeEscalation");
|
||||
uint256 const featureFlowV2 = feature("FlowV2");
|
||||
uint256 const featureOwnerPaysFee = feature("OwnerPaysFee");
|
||||
uint256 const featureCompareFlowV1V2 = feature("CompareFlowV1V2");
|
||||
uint256 const featureSHAMapV2 = feature("SHAMapV2");
|
||||
uint256 const featurePayChan = feature("PayChan");
|
||||
uint256 const featureFlow = feature("Flow");
|
||||
|
||||
} // ripple
|
||||
|
||||
Reference in New Issue
Block a user