mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-25 07:26:48 +00:00
Bump golangci-lint, Docker and Go CI versions (#564)
* Bump golangci-lint and Go CI versions * Bump golangci-lint version * Address nitterinos
This commit is contained in:
@@ -249,7 +249,7 @@ func (w Wrapper) OHLCV(exch string, p currency.Pair, a asset.Item, start, end ti
|
||||
})
|
||||
|
||||
for x := 1; x < 200; x++ {
|
||||
r := validatorLow + rand.Float64()*(validatorHigh-validatorLow)
|
||||
r := validatorLow + rand.Float64()*(validatorHigh-validatorLow) // nolint:gosec // no need to import crypo/rand
|
||||
candle := kline.Candle{
|
||||
Time: candles[x-1].Time.Add(-i.Duration()),
|
||||
Open: r,
|
||||
|
||||
Reference in New Issue
Block a user