Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
anjor committed Jan 29, 2025
1 parent fe169a6 commit b6dd64f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion grpc-server.go
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,12 @@ func (multi *MultiEpoch) StreamTransactions(params *old_faithful_grpc.StreamTran
endSlot = *params.EndSlot
}
gsfaReader, epochNums := multi.getGsfaReadersInEpochDescendingOrderForSlotRange(ctx, startSlot, endSlot)
gsfaReadersLoaded := len(epochNums) > 0

gsfaReadersLoaded := true
if len(epochNums) == 0 {
klog.Warning("No gsfa readers were loaded")
gsfaReadersLoaded := false

Check failure on line 726 in grpc-server.go

View workflow job for this annotation

GitHub Actions / test (1.21.x, ubuntu-latest)

gsfaReadersLoaded declared and not used
}

return multi.processSlotTransactions(ctx, ser, startSlot, endSlot, params.Filter, gsfaReader, gsfaReadersLoaded)
}
Expand Down

0 comments on commit b6dd64f

Please sign in to comment.