Merge pull request #644 from hermeznetwork/feature/external-delete-not-count

Not count txs marked as external_delete to reach MaxTxsPool
This commit is contained in:
Eduard S
2021-03-18 11:44:08 +01:00
committed by GitHub
4 changed files with 3 additions and 4 deletions

View File

@@ -179,7 +179,7 @@ func (a *API) verifyPoolL2TxWrite(txw *l2db.PoolL2TxWrite) error {
// Get public key
account, err := a.h.GetCommonAccountAPI(poolTx.FromIdx)
if err != nil {
return tracerr.Wrap(err)
return tracerr.Wrap(fmt.Errorf("Error getting from account: %w", err))
}
// Validate TokenID
if poolTx.TokenID != account.TokenID {