]> git.bitcoin.ninja Git - rust-lightning/commit
Move fail-backwards up for no to-remote output claims
authorMatt Corallo <git@bluematt.me>
Fri, 21 Dec 2018 19:32:44 +0000 (14:32 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 1 Jan 2019 01:26:07 +0000 (20:26 -0500)
commit24577344fa4eb31b41e1fb2d42787bec409b8ceb
tree8a5e41d9c89a88ae076afac6977025e3b1728b68
parent13dc1db100b49d2577764a92805f10d3989663c5
Move fail-backwards up for no to-remote output claims

This fixes HTLC fail-backwards in case we haven't yet sent enough
to have a to_remote output to claim, plus some edge cases where it
could be removed due to a fee update, though hopefully that goes
away with simplified_commitment.
src/ln/channelmonitor.rs