print full key if it has 8 leading zeroes

This commit is contained in:
alex.sharov 2020-10-19 21:03:50 +07:00
parent 5dbe1724be
commit dd21d07a7d

View File

@ -212,12 +212,12 @@ func loadFilesIntoBucket(db ethdb.Database, bucket string, providers []dataProvi
}
if canUseAppend {
if err := tx.(*ethdb.TxDb).Append(bucket, k, v); err != nil {
return err
return fmt.Errorf("append: k=%x, %w", k, err)
}
return nil
}
if err := tx.Put(bucket, k, v); err != nil {
return err
return fmt.Errorf("put: k=%x, %w", k, err)
}
return nil
}