diff --git a/src/cpp/ripple/PaymentTransactor.cpp b/src/cpp/ripple/PaymentTransactor.cpp index c7404c625..7facfa92c 100644 --- a/src/cpp/ripple/PaymentTransactor.cpp +++ b/src/cpp/ripple/PaymentTransactor.cpp @@ -159,7 +159,7 @@ TER PaymentTransactor::doApply() // re-arm the password change fee if we can and need to if ( (sleDst->getFlags() & lsfPasswordSpent) && (saDstAmount > theConfig.FEE_DEFAULT) ) // FIXME: Can't access FEE_DEFAULT here - { + { // FIXME: The line below is disastrous, it leaks XRP sleDst->setFieldAmount(sfBalance, sleDst->getFieldAmount(sfBalance) + saDstAmount-theConfig.FEE_DEFAULT); sleDst->clearFlag(lsfPasswordSpent); }