Skip to content

Commit

Permalink
fix gate provider candle parsing (#313) (#315)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4d8d0a8)

Co-authored-by: Kyle <[email protected]>
Co-authored-by: Adam Wozniak <[email protected]>
  • Loading branch information
3 people authored Nov 30, 2023
1 parent 2ec9a67 commit 10bf61c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oracle/provider/gate.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ func (candle *GateCandle) UnmarshalParams(params [][]interface{}) error {

// use the most recent candle
tmp = params[len(params)-1]
if len(tmp) != 8 {
if len(tmp) != 9 {
return fmt.Errorf("wrong number of fields in candle")
}

Expand Down

0 comments on commit 10bf61c

Please sign in to comment.