diff --git a/breez.go b/breez.go index 4f942ceb..7a0c9790 100644 --- a/breez.go +++ b/breez.go @@ -187,7 +187,8 @@ func (bs *BreezService) ListTransactions(ctx context.Context, senderPubkey strin } transactions = []Nip47Transaction{} - for _, payment := range payments { + paymentList := payments[0:100] + for _, payment := range paymentList { if payment.PaymentType != breez_sdk.PaymentTypeReceived && payment.PaymentType != breez_sdk.PaymentTypeSent { // skip other types of payments for now continue