eth/fetcher: lint error

This commit is contained in:
healthykim 2026-06-22 12:56:27 +02:00
parent b4c1a26367
commit 5e737101e6

View file

@ -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. // 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 // Otherwise, the next peer who announced the hash and has token will be selected
// in the next loop // 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 { if f.fetches[hash] == nil {
f.fetches[hash] = &fetchStatus{ f.fetches[hash] = &fetchStatus{
fetching: unfetched, fetching: unfetched,