Commit Graph

1 Commits

Author SHA1 Message Date
Yaacov Akiba Slama
f407ec9e9c Handle interception probing payments
probing payments uses a probing payment hash which is:
sha256("probing-01:" || payment_hash).

When the interceptor detects such a hash for a payment which is supposed
to trigger a channel creation , it checks if the destination is online,
and if online, fails with INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS error in
order to let the payer knows that the payment would be successful.
2020-11-08 17:46:26 +02:00