mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
Run go-instrument-errors to wrap errors
This commit is contained in:
@@ -883,7 +883,7 @@ func (tc *Context) FillBlocksExtra(blocks []common.BlockData, cfg *ConfigExtra)
|
||||
tc.extra.nonces[tx.FromIdx]++
|
||||
tx.Nonce = tc.extra.nonces[tx.FromIdx]
|
||||
if err := tx.SetID(); err != nil {
|
||||
return err
|
||||
return tracerr.Wrap(err)
|
||||
}
|
||||
nTx, err := common.NewL2Tx(tx)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user