Skip to content

Commit

Permalink
Update grpc-server.go
Browse files Browse the repository at this point in the history
  • Loading branch information
anjor authored Dec 16, 2024
1 parent 51e7d39 commit 2964ca1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grpc-server.go
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ func (multi *MultiEpoch) processSlotTransactions(
ctx,
pKey,
1000,
func(epochNum uint64, oas linkedlog.OffsetAndSizeAndBlocktime) (*ipldbindcode.Transaction, error) {
func(epochNum uint64, oas linkedlog.OffsetAndSize) (*ipldbindcode.Transaction, error) {

Check failure on line 828 in grpc-server.go

View workflow job for this annotation

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

undefined: linkedlog.OffsetAndSize
epoch, err := multi.GetEpoch(epochNum)
if err != nil {
return nil, fmt.Errorf("failed to get epoch %d: %w", epochNum, err)
Expand Down Expand Up @@ -878,7 +878,7 @@ func (multi *MultiEpoch) processSlotTransactions(
}
txResp.Slot = uint64(txn.Slot)

// To do: add blocketime after index work is done
// To do: add blocktime after index work is done
}

if err := ser.Send(txResp); err != nil {
Expand Down

0 comments on commit 2964ca1

Please sign in to comment.