mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
try fix
This commit is contained in:
parent
585fc9455e
commit
7a4f4ff5b2
1 changed files with 1 additions and 1 deletions
|
|
@ -1040,7 +1040,7 @@ func (d *Downloader) commitSnapSyncData(results []*fetchResult, stateSync *state
|
|||
blocks[i] = types.NewBlockWithHeader(result.Header).WithBody(result.body())
|
||||
receipts[i] = result.Receipts
|
||||
if len(result.Receipts) == 0 {
|
||||
panic("empty receipts in snap sync block")
|
||||
receipts[i] = rlp.EmptyList
|
||||
}
|
||||
}
|
||||
fmt.Printf(">>>> Committing %d snap-sync blocks, first %d, last %d\n", len(results), first.Number.Uint64(), last.Number.Uint64())
|
||||
|
|
|
|||
Loading…
Reference in a new issue