]> git.bitcoin.ninja Git - rust-lightning/commit
Ignore HTLC txn we dont know how to claim instead of unwrap()ing
authorMatt Corallo <git@bluematt.me>
Fri, 14 Sep 2018 03:54:15 +0000 (23:54 -0400)
committerMatt Corallo <git@bluematt.me>
Fri, 14 Sep 2018 19:27:39 +0000 (15:27 -0400)
commita55355e64145a45ae3bdc6784c0bfd0095ba3d7f
tree62f70bd72e79d4cbad9767138cfe4d2ef25a380c
parente323c13a59a1d2ce9f0f1c727ee7c51b448e4ab5
Ignore HTLC txn we dont know how to claim instead of unwrap()ing

This fixes a crash introduced in 3e149b1fb6624eef99b055bde772842f36
and introduces a test which will tickle the bug.
src/ln/channelmanager.rs
src/ln/channelmonitor.rs