mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Mark some future work.
This commit is contained in:
@@ -40,6 +40,13 @@ bool TransactionEngine::checkInvariants(TER result, const SerializedTransaction&
|
|||||||
const LedgerEntrySetEntry& entry = it->second;
|
const LedgerEntrySetEntry& entry = it->second;
|
||||||
if (entry.mAction == taaMODIFY)
|
if (entry.mAction == taaMODIFY)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
|
if (entry.mEntry->getType() == ltRIPPLE_STATE)
|
||||||
|
{
|
||||||
|
// if this transaction pushes a ripple state over its limit, make sure it also modifies
|
||||||
|
// an offer placed by that same user
|
||||||
|
}
|
||||||
|
#endif
|
||||||
if (entry.mEntry->getType() == ltACCOUNT_ROOT)
|
if (entry.mEntry->getType() == ltACCOUNT_ROOT)
|
||||||
{ // account modified
|
{ // account modified
|
||||||
xrpChange += entry.mEntry->getFieldAmount(sfBalance).getSNValue();
|
xrpChange += entry.mEntry->getFieldAmount(sfBalance).getSNValue();
|
||||||
|
|||||||
Reference in New Issue
Block a user