Skip to content

Commit

Permalink
Merge pull request #2247 from niuxiaojie89/feature/bump-version-to-1.5.0
Browse files Browse the repository at this point in the history
Update ut
  • Loading branch information
benbaley authored Mar 13, 2024
2 parents beb014f + c7991e9 commit 85554b4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eth/downloader/queue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 85554b4

Please sign in to comment.