]> git.bitcoin.ninja Git - rust-lightning/commit
Fix crash introduced in #124
authorMatt Corallo <git@bluematt.me>
Fri, 24 Aug 2018 15:52:55 +0000 (11:52 -0400)
committerMatt Corallo <git@bluematt.me>
Fri, 24 Aug 2018 20:58:27 +0000 (16:58 -0400)
commit4f77c812a4b0e42454cb92b8b460dfa1323016cb
treebf795d24c0263c749d18ebfe69c6224c63fca4f8
parenta66e597e958584b7fbfff8f5891d656010cd58fa
Fix crash introduced in #124

I'm rapidly starting to regret holding failed HTLCs in Channel,
given we allow them to violate the no-duplicate-hashes
precondition.

Found by fuzzer
src/ln/channel.rs