Handle duplicate payment_hash send_payment()s 2018-07-duplicate_hash
authorMatt Corallo <git@bluematt.me>
Thu, 26 Jul 2018 19:44:27 +0000 (15:44 -0400)
committerMatt Corallo <git@bluematt.me>
Thu, 26 Jul 2018 23:39:26 +0000 (19:39 -0400)
We don't bother doing anything smart, we just return an Err in
case we have a pending outbound HTLC with the payment_hash provided
for the send.

This doesn't resolve the TODO as users can still send duplicative
payments that have the same payment_hash as was already sent,
though the docs are updated and hopefully users do so on their own.


No differences found