Skip to content

Commit

Permalink
Small fix with unprovided feeds.
Browse files Browse the repository at this point in the history
  • Loading branch information
tilenflare committed May 7, 2024
1 parent 650f0a9 commit e9e2fb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions go-client/provider/feed_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ func GetDeltas(chainValues []float64, providerValues []float64, valueIndexToFeed

lastFeedIndex := valueIndexToFeedIndex[len(valueIndexToFeedIndex)-1]
deltasList := make([]byte, lastFeedIndex+1)
// for index := range deltasList {
// deltasList[index] = '0'
// }
for index := range deltasList {
deltasList[index] = '0'
}

for i := 0; i < len(chainValues); i++ {
delta := byte('0')
Expand Down

0 comments on commit e9e2fb4

Please sign in to comment.