]> git.bitcoin.ninja Git - rust-lightning/commit
Partially implement more onion error handling for sent payments
authorYuntai Kyong <yuntai.kyong@gmail.com>
Sun, 14 Oct 2018 13:35:26 +0000 (22:35 +0900)
committerMatt Corallo <git@bluematt.me>
Tue, 23 Oct 2018 17:54:57 +0000 (13:54 -0400)
commitdc61c9877378b359b7a074cea8751053d612a83c
tree6f7c1de2f842b47d819bb2fb093a2136868000cf
parentd3ca7da67268568227472bc689268d73b5853e44
Partially implement more onion error handling for sent payments

Also refactor out onion error handling into a function instead of
in update_fail_htlc.

Cache the initial htlc_msat that we sent instead of recalculating
it to check validity of the error returned.
src/ln/channelmanager.rs