mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-24 13:05:53 +00:00
Mark a critical FIXME.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user