mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Buglet. We mishandle create.
This commit is contained in:
@@ -85,8 +85,12 @@ TransactionEngineResult TransactionEngine::applyTransaction(const SerializedTran
|
||||
// WRITEME: Special case code for changing transaction key
|
||||
for(std::vector<AffectedAccount>::iterator it=accounts.begin(), end=accounts.end();
|
||||
it != end; ++it)
|
||||
{ if (it->first == taaCREATE)
|
||||
{
|
||||
if ( (it->first==taaMODIFY) || (it->first==taaCREATE) )
|
||||
if (mLedger->writeBack(lepCREATE, it->second) & lepERROR)
|
||||
assert(false);
|
||||
}
|
||||
else if (it->first==taaMODIFY)
|
||||
{
|
||||
if(mLedger->writeBack(lepNONE, it->second) & lepERROR)
|
||||
assert(false);
|
||||
|
||||
Reference in New Issue
Block a user