Skip to content

Commit

Permalink
fix gate provider candle parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
zarazan committed Nov 21, 2023
1 parent 9ca4545 commit 8ff510e
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 8ff510e

Please sign in to comment.