mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-24 20:47:16 +00:00
print full key if it has 8 leading zeroes
This commit is contained in:
parent
5dbe1724be
commit
dd21d07a7d
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user