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