diff --git a/cmd/integration/commands/reset_state.go b/cmd/integration/commands/reset_state.go index 3c455f2969aa569f058588aa534a38ce5eec8c68..55390de7d34b90fb85170ad7f1a27b438f9cf051 100644 --- a/cmd/integration/commands/reset_state.go +++ b/cmd/integration/commands/reset_state.go @@ -189,7 +189,7 @@ func copyCompact() error { if err := os.MkdirAll(to, 0744); err != nil { return fmt.Errorf("could not create dir: %s, %w", to, err) } - if err := env.SetMapSize(ethdb.LMDBMapSize); err != nil { + if err := env.SetMapSize(int64(ethdb.LMDBMapSize.Bytes())); err != nil { return err }