mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 13:07:17 +00:00
Update stage_tevm.go (#2144)
This commit is contained in:
parent
e1ad20460c
commit
b5edbe272f
@ -207,11 +207,11 @@ func transpileBatch(logPrefix string, s *StageState, fromBlock uint64, toBlock u
|
||||
if err != nil {
|
||||
return fmt.Errorf("cannot begin the batch transaction on %q: %w", codeHash, err)
|
||||
}
|
||||
k, hash = common.CopyBytes(k), common.CopyBytes(hash)
|
||||
_, err = c.SeekBothRange(k, hash)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
//k, hash = common.CopyBytes(k), common.CopyBytes(hash)
|
||||
//_, err = c.SeekBothRange(k, hash)
|
||||
//if err != nil {
|
||||
// return err
|
||||
//}
|
||||
// TODO: This creates stacked up deferrals
|
||||
defer tx.Rollback()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user