From 10bf61cdf3ca3612b7570e1cbf0e0cbe56a64173 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 30 Nov 2023 15:09:18 -0800 Subject: [PATCH] fix gate provider candle parsing (#313) (#315) (cherry picked from commit 4d8d0a8a0fd06caf176fe84f6f222e0d05115f0d) Co-authored-by: Kyle Co-authored-by: Adam Wozniak <29418299+adamewozniak@users.noreply.github.com> --- oracle/provider/gate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oracle/provider/gate.go b/oracle/provider/gate.go index 710ff512..d27f6858 100644 --- a/oracle/provider/gate.go +++ b/oracle/provider/gate.go @@ -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") }