Fix crash when a claim tx has some non-witness inputs.
authorMatt Corallo <git@bluematt.me>
Mon, 13 Jan 2020 18:43:54 +0000 (13:43 -0500)
committerAntoine Riard <ariard@student.42.fr>
Fri, 17 Jan 2020 21:26:48 +0000 (16:26 -0500)
The logger which decides what to refer to an on-chain claim tx was
assuming that all inputs would have a witness. While this was fine
for the one-input case, it broke the fuzzer which was connecting a
consensus-invalid transaction. Further, in the case we have multiple
inputs, some may not have a witness, which we shouldn't crash on.

This fixes 9df0250dbbad7449e3ec8f90532ce9197eb31997.


No differences found