Skip to content

Commit

Permalink
Fix: OPG query
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Jul 10, 2023
1 parent f060122 commit 5ebb7f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/postgres/operation/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ func (storage *Storage) OPG(address string, size, lastID int64) ([]operation.OPG
opg = opg[:count]
}

result = append(result, opg[:count]...)
result = append(result, opg...)

if len(result) < limit {
lastAction = lastAction.AddDate(0, -3, 0)
Expand Down

0 comments on commit 5ebb7f8

Please sign in to comment.