Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update gate provider candle parsing #313

Merged
merged 1 commit into from
Nov 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion oracle/provider/gate.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
case "success":
return
case "":
break

Check failure on line 221 in oracle/provider/gate.go

View workflow job for this annotation

GitHub Actions / Run golangci-lint

omit unnecessary break at the end of case clause
default:
return
}
Expand Down Expand Up @@ -290,7 +290,7 @@

// 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
Loading