From 5e737101e6ef4f9cce111da36164c5539715245e Mon Sep 17 00:00:00 2001 From: healthykim Date: Mon, 22 Jun 2026 12:56:27 +0200 Subject: [PATCH] eth/fetcher: lint error --- eth/fetcher/blob_fetcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/fetcher/blob_fetcher.go b/eth/fetcher/blob_fetcher.go index 2e5bb6a7f2..e6e80ce739 100644 --- a/eth/fetcher/blob_fetcher.go +++ b/eth/fetcher/blob_fetcher.go @@ -771,7 +771,7 @@ func (f *BlobFetcher) scheduleFetches(timer *mclock.Timer, timeout chan struct{} // Mark fetching for unfetched cells if the peer has enough token. // Otherwise, the next peer who announced the hash and has token will be selected // in the next loop - if unfetched.OneCount() > 0 && f.consumeToken(peer, int(unfetched.OneCount())) { + if unfetched.OneCount() > 0 && f.consumeToken(peer, unfetched.OneCount()) { if f.fetches[hash] == nil { f.fetches[hash] = &fetchStatus{ fetching: unfetched,