From 7a4f4ff5b28a7fad771f5611662452063225e861 Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi Date: Tue, 3 Jun 2025 13:10:36 +0200 Subject: [PATCH] try fix --- eth/downloader/downloader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go index 74975f79fc..3c764c4674 100644 --- a/eth/downloader/downloader.go +++ b/eth/downloader/downloader.go @@ -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())