Only enforce no-dup-payment_hash precondition on non-removed HTLCs
authorMatt Corallo <git@bluematt.me>
Mon, 20 Aug 2018 14:33:30 +0000 (10:33 -0400)
committerMatt Corallo <git@bluematt.me>
Mon, 20 Aug 2018 17:58:31 +0000 (13:58 -0400)
commit7a04595269d69cfff52dd68e025c5c234e5556e4
tree198dc8f3a3dd25822c93d6059e0d5eae0db687da
parent7318a97b157cdf69b41dda1ea918fea142d26399
Only enforce no-dup-payment_hash precondition on non-removed HTLCs

This fixes a panic found by fuzzer.
src/ln/channel.rs