Run go-instrument-errors to wrap errors

This commit is contained in:
Eduard S
2020-12-18 13:39:42 +01:00
parent b59f790c04
commit b1a8384f27
10 changed files with 30 additions and 30 deletions

View File

@@ -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 {