mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-24 13:05:53 +00:00
Cosmetic.
This commit is contained in:
@@ -21,8 +21,8 @@ TER PaymentTransactor::doApply()
|
|||||||
const STAmount saMaxAmount = bMax
|
const STAmount saMaxAmount = bMax
|
||||||
? mTxn.getFieldAmount(sfSendMax)
|
? mTxn.getFieldAmount(sfSendMax)
|
||||||
: saDstAmount.isNative()
|
: saDstAmount.isNative()
|
||||||
? saDstAmount
|
? saDstAmount
|
||||||
: STAmount(saDstAmount.getCurrency(), mTxnAccountID, saDstAmount.getMantissa(), saDstAmount.getExponent(), saDstAmount.isNegative());
|
: STAmount(saDstAmount.getCurrency(), mTxnAccountID, saDstAmount.getMantissa(), saDstAmount.getExponent(), saDstAmount.isNegative());
|
||||||
const uint160 uSrcCurrency = saMaxAmount.getCurrency();
|
const uint160 uSrcCurrency = saMaxAmount.getCurrency();
|
||||||
const uint160 uDstCurrency = saDstAmount.getCurrency();
|
const uint160 uDstCurrency = saDstAmount.getCurrency();
|
||||||
const bool bXRPDirect = uSrcCurrency.isZero() && uDstCurrency.isZero();
|
const bool bXRPDirect = uSrcCurrency.isZero() && uDstCurrency.isZero();
|
||||||
|
|||||||
Reference in New Issue
Block a user