mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 04:57:17 +00:00
Fix broken export file usage. (#680)
This commit is contained in:
parent
5812a649ce
commit
69a20de5cc
@ -130,7 +130,7 @@ func NewBlockProviderFromExportFile(fn string) (BlockProvider, error) {
|
||||
}
|
||||
|
||||
func getTempFileName() string {
|
||||
tmpfile, err := ioutil.TempFile("", "headers.bolt")
|
||||
tmpfile, err := ioutil.TempFile("", "headers.*_bolt")
|
||||
if err != nil {
|
||||
panic(fmt.Errorf("failed to create a temp file: %w", err))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user