mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-08 03:46:52 +01:00
Set EffectiveAmount and EffectiveLoadAmount of forged L1UserTxs
This commit is contained in:
@@ -261,7 +261,7 @@ func (l2db *L2DB) CheckNonces(updatedAccounts []common.Account, batchNum common.
|
||||
return tracerr.Wrap(err)
|
||||
}
|
||||
}
|
||||
return txn.Commit()
|
||||
return tracerr.Wrap(txn.Commit())
|
||||
}
|
||||
|
||||
// Reorg updates the state of txs that were updated in a batch that has been discarted due to a blockchain reorg.
|
||||
@@ -312,5 +312,5 @@ func (l2db *L2DB) Purge(currentBatchNum common.BatchNum) (err error) {
|
||||
if err != nil {
|
||||
return tracerr.Wrap(err)
|
||||
}
|
||||
return txn.Commit()
|
||||
return tracerr.Wrap(txn.Commit())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user