Set `payment_secret` when sending probes
authorElias Rohrer <dev@tnull.de>
Mon, 28 Aug 2023 11:57:29 +0000 (13:57 +0200)
committerElias Rohrer <dev@tnull.de>
Wed, 13 Sep 2023 09:52:45 +0000 (11:52 +0200)
commit758679af8401ce4a4f0a8964b6916be4a034b441
tree3a67ef52da0e297548b438f21b7aca73e475d136
parent1f32ba46165b986ab63ee32a7104f812573c4cbe
Set `payment_secret` when sending probes

Previously, we'd leave the payment secret field empty while sending
probes, which resulted in having them rejected
with `(PERM|invalid_onion_payload)` by Eclair nodes.

In order to mitigate the issue, we just set a random payment secret.
lightning/src/ln/outbound_payment.rs