From 938c1dd5da91cc1fc040a5ae9bc8ee7fcdcb0f9d Mon Sep 17 00:00:00 2001 From: Kyle Date: Tue, 21 Nov 2023 10:29:08 -0700 Subject: [PATCH] fix gate provider candle parsing (#313) (cherry picked from commit 4d8d0a8a0fd06caf176fe84f6f222e0d05115f0d) --- 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") }