From 8ff510e2d01e54668bf611047fb0a7dfb156d88b Mon Sep 17 00:00:00 2001 From: zarazan Date: Mon, 20 Nov 2023 22:53:37 -0700 Subject: [PATCH] fix gate provider candle parsing --- 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") }