You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
send_payment and send_spontaneous_payment use the same return type Payment as list_payments. They mean very different things, however. list_payments is meant to give you a list of all the balance mutations: receives, sends, closed channels.
Suggestion is to rename the current Payment to PaymentListItem. It will be returned by list_payments.
And use a different model that is more suited for the send_payment and send_spontaneous_payment functions.
The text was updated successfully, but these errors were encountered:
send_payment
andsend_spontaneous_payment
use the same return typePayment
aslist_payments
. They mean very different things, however.list_payments
is meant to give you a list of all the balance mutations: receives, sends, closed channels.Suggestion is to rename the current
Payment
toPaymentListItem
. It will be returned bylist_payments
.And use a different model that is more suited for the
send_payment
andsend_spontaneous_payment
functions.The text was updated successfully, but these errors were encountered: