fix cmd/integration

This commit is contained in:
Igor Mandrigin 2020-08-05 10:21:08 +02:00
parent e732ccd438
commit 6c815b3f6a

View File

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