Skip to content

Commit

Permalink
e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
rbajollari committed Sep 12, 2024
1 parent af57640 commit 275b748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/grpc/price_listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func listenForPrices(
// Record each historic stamp when the chain should be recording them
for i := 0; i < int(params.MedianStampPeriod); i++ {
height := <-chainHeight.HeightChanged
if isPeriodFirstBlock(height, params.HistoricStampPeriod) {
if isPeriodFirstBlock(height + 1, params.HistoricStampPeriod) {
exchangeRates, err := ojoClient.QueryClient.QueryExchangeRates()
log.Info().Msgf("block %d stamp: %+v", height, exchangeRates)
if err != nil {
Expand Down

0 comments on commit 275b748

Please sign in to comment.