mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
fix reward query
This commit is contained in:
parent
90477826cf
commit
4a415a43b3
|
@ -232,10 +232,12 @@ func (q *RewardBatchQuery) Query(ctx context.Context, startTime, endTime time.Ti
|
|||
}
|
||||
|
||||
c <- o
|
||||
startTime = o.CreatedAt.Time()
|
||||
lastID = o.UUID
|
||||
rewardKeys[o.UUID] = struct{}{}
|
||||
}
|
||||
|
||||
end := len(rewards)-1
|
||||
startTime = rewards[end].CreatedAt.Time()
|
||||
lastID = rewards[end].UUID
|
||||
}
|
||||
|
||||
}()
|
||||
|
|
Loading…
Reference in New Issue
Block a user