Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
fix: list transactions arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Jun 28, 2024
1 parent 7dd00f4 commit f657315
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,7 @@ func (api *api) GetTransactions(ctx context.Context) (*TransactionsResponse, err
if api.svc.GetLNClient() == nil {
return nil, errors.New("LNClient not started")
}
// TODO: review parameters passed
transactions, err := api.svc.GetLNClient().ListTransactions(ctx, 0, 100000000000, 1000, 0, false, "")
transactions, err := api.svc.GetLNClient().ListTransactions(ctx, 0, 0, 20, 0, false, "")
if err != nil {
return nil, err
}
Expand Down

0 comments on commit f657315

Please sign in to comment.