From c7991e9b03de58c052d291f36395a15f6f43d9a9 Mon Sep 17 00:00:00 2001 From: niuxiaojie81 <85773309@qq.com> Date: Wed, 13 Mar 2024 12:15:04 +0800 Subject: [PATCH] Update ut --- eth/downloader/queue_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eth/downloader/queue_test.go b/eth/downloader/queue_test.go index f377d5410c..554fbb58eb 100644 --- a/eth/downloader/queue_test.go +++ b/eth/downloader/queue_test.go @@ -115,8 +115,7 @@ func TestBasics(t *testing.T) { t.Errorf("wrong pending block count, got %d, exp %d", got, exp) } // Only non-empty receipts get added to task-queue - // The receipt is not synchronized in PlatON SnapSync mode, so it is 0 here - if got, exp := q.PendingReceipts(), 0; got != exp { + if got, exp := q.PendingReceipts(), 64; got != exp { t.Errorf("wrong pending receipt count, got %d, exp %d", got, exp) } // Items are now queued for downloading, next step is that we tell the