Skip to content

Commit

Permalink
Fixes context used for execution client in transaction_streamer
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoximenes committed Dec 24, 2024
1 parent 824786c commit 658aeda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arbnode/transaction_streamer.go
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ func (s *TransactionStreamer) GetProcessedMessageCount() (arbutil.MessageIndex,
if err != nil {
return 0, err
}
digestedHead, err := s.exec.HeadMessageNumber().Await(s.GetContext())
digestedHead, err := s.exec.HeadMessageNumber().Await(context.Background())
if err != nil {
return 0, err
}
Expand Down Expand Up @@ -1090,7 +1090,7 @@ func (s *TransactionStreamer) ResultAtCount(count arbutil.MessageIndex) (*execut
}
log.Info(FailedToGetMsgResultFromDB, "count", count)

msgResult, err := s.exec.ResultAtPos(pos).Await(s.GetContext())
msgResult, err := s.exec.ResultAtPos(pos).Await(context.Background())
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 658aeda

Please sign in to comment.