[new-owner-report] fix args to make-payment->invoices-table

It should receive 1 arg instead of 2.

guile-2.2 allows internal defines to be called with a higher number of
args.  This may be a guile bug.  Follow-up tracking at
https://lists.gnu.org/archive/html/bug-guile/2019-12/msg00011.html

guile-2.0 (IMHO correctly) does not allow this invalid call.
This commit is contained in:
Christopher Lam
2019-12-15 08:33:37 +08:00
parent a513140e15
commit 7cd6591c77

View File

@@ -515,7 +515,7 @@
((and (txn-is-payment? txn) (eq? link-option 'simple))
(make-payment->invoices-list txn))
((and (txn-is-payment? txn) (eq? link-option 'detailed))
(make-payment->invoices-table txn currency))
(make-payment->invoices-table txn))
(else '(()))))
(lp printed? (not odd-row?) (cdr splits) (+ total value)