satellite/peyments: fix potential infinite loop in update account balance cycle
Change-Id: Ia4f9abe50b771ff6406e3a1ae76166e046bf63e5
This commit is contained in:
parent
4e86951163
commit
6c6e2eb8b3
@ -252,7 +252,7 @@ func (service *Service) updateAccountBalanceLoop(ctx context.Context) (err error
|
||||
return err
|
||||
}
|
||||
|
||||
txsPage, err := service.db.Transactions().ListUnapplied(ctx, txsPage.NextOffset, limit, before)
|
||||
txsPage, err = service.db.Transactions().ListUnapplied(ctx, txsPage.NextOffset, limit, before)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user