mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Handle all the weird edge cases, such as:
A remote transaction is received *from* a local account. We neeed to update our balance and sequence tracking. A local transaction loses to a conflict.
This commit is contained in:
@@ -56,8 +56,9 @@ Transaction::pointer NetworkOPs::processTransaction(Transaction::pointer trans)
|
||||
|
||||
if(r==Ledger::TR_SUCCESS)
|
||||
{
|
||||
// WRITEME: send to others
|
||||
trans->setStatus(INCLUDED);
|
||||
// WRITEME: send to others
|
||||
theApp->getWallet().applyTransaction(trans);
|
||||
return trans;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user