From 779e0dce5a162eaea860b9ef2370ff7a4ae85203 Mon Sep 17 00:00:00 2001 From: darosior Date: Tue, 10 Sep 2019 21:12:43 +0200 Subject: [PATCH] probe: use 'listsendpays' instead of 'listpayments' 'listpayments' is not part our lives anymore --- probe/probe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/probe/probe.py b/probe/probe.py index a6ae001..70a1c47 100755 --- a/probe/probe.py +++ b/probe/probe.py @@ -212,7 +212,7 @@ def poll_payments(plugin): """Iterate through all probes and complete the finalized ones. """ for probe in plugin.pending_probes: - p = plugin.rpc.listpayments(None, payment_hash=probe['payment_hash']) + p = plugin.rpc.listsendpays(None, payment_hash=probe['payment_hash']) if p['payments'][0]['status'] == 'pending': continue