mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
exchange/max: fix query reward issue
This commit is contained in:
parent
b58e96a8a2
commit
48fe6054b0
|
@ -595,7 +595,7 @@ func (e *Exchange) QueryRewards(ctx context.Context, startTime time.Time) ([]typ
|
|||
var now = time.Now()
|
||||
for {
|
||||
if from.After(now) {
|
||||
break
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
// scan by 30 days
|
||||
|
|
Loading…
Reference in New Issue
Block a user