Cosmetic.

This commit is contained in:
Arthur Britto
2013-03-08 13:53:00 -08:00
parent 4ea9b43799
commit a3ee8b0ed1

View File

@@ -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();