Make attempting to retry a succeeded payment an APIError, not Route 2021-12-fix-retries-races
authorMatt Corallo <git@bluematt.me>
Mon, 13 Dec 2021 17:41:36 +0000 (17:41 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 15 Dec 2021 03:57:13 +0000 (03:57 +0000)
commit05d7a33a581076fbea1e9d626c40e0c3c44031b1
tree7792d29b8927996132526b61576dda0fdb143473
parent3086bd8c8e3f4c1d2c5fa99279f516817ce05587
Make attempting to retry a succeeded payment an APIError, not Route

This is symmetric with the new failure once a payment is abandoned.
lightning/src/ln/channelmanager.rs