Narrow check_spend_remote_htlc input/output count check.
authorMatt Corallo <git@bluematt.me>
Wed, 26 Sep 2018 14:48:30 +0000 (10:48 -0400)
committerMatt Corallo <git@bluematt.me>
Wed, 26 Sep 2018 15:06:28 +0000 (11:06 -0400)
commitea8a1f350643ba9f1d7ed07deb31cbad20e36236
treeb3f0b0f1d00a2833a77ecadc98badd843b3bd6ba
parent0112394e52ad63f9d2ed404dfc85d93a29a57ed6
Narrow check_spend_remote_htlc input/output count check.

This fixes a crash found by fuzztester where a 0-output tx causes a
[] panic (though this shouldn't happen in the real-world as
0-output txn should never be able to be mined).
src/ln/channelmonitor.rs