From b5edbe272f64400c61514d34f91a39984955eb9b Mon Sep 17 00:00:00 2001 From: ledgerwatch Date: Fri, 11 Jun 2021 10:11:23 +0100 Subject: [PATCH] Update stage_tevm.go (#2144) --- eth/stagedsync/stage_tevm.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/eth/stagedsync/stage_tevm.go b/eth/stagedsync/stage_tevm.go index bb433dd7b..94e6ccff7 100644 --- a/eth/stagedsync/stage_tevm.go +++ b/eth/stagedsync/stage_tevm.go @@ -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() }