diff --git a/feeadjuster/test_feeadjuster.py b/feeadjuster/test_feeadjuster.py index e5a6944..0f8210e 100644 --- a/feeadjuster/test_feeadjuster.py +++ b/feeadjuster/test_feeadjuster.py @@ -60,7 +60,7 @@ def pay(l, ll, amount): label = ''.join(random.choices(string.ascii_letters, k=20)) invoice = ll.rpc.invoice(amount, label, "desc") route = l.rpc.getroute(ll.info["id"], amount, riskfactor=0, fuzzpercent=0) - l.rpc.sendpay(route["route"], invoice["payment_hash"]) + l.rpc.sendpay(route["route"], invoice["payment_hash"], payment_secret=invoice.get('payment_secret')) l.rpc.waitsendpay(invoice["payment_hash"])