Merge #21606: fuzz: Extend psbt fuzz target a bit

faaf3954e2f0089b6c6b9965f15e7f9af09c6fb0 fuzz: Extend psbt fuzz target a bit (MarcoFalke)

Pull request description:

  Previously it only merged the psbt with itself, now it tries to merge another.

ACKs for top commit:
  practicalswift:
    Tested ACK faaf3954e2f0089b6c6b9965f15e7f9af09c6fb0

Tree-SHA512: e1b1d31a47d35e1767285bc2fda176c79cb0550d6d383fe467104272e61e1c83f6cbc0c7d6bbc0c3027729eec13ae1f289f8950117ee91e0fb3703e66d5e6918
This commit is contained in:
MarcoFalke 2021-04-09 18:54:10 +02:00 committed by Konstantin Akimov
parent 233fb245f7
commit bc6e3ed6e4
No known key found for this signature in database
GPG Key ID: 2176C4A5D01EA524

View File

@ -46,6 +46,7 @@ FUZZ_TARGET(psbt)
(void)PSBTInputSigned(input);
(void)input.IsNull();
}
(void)CountPSBTUnsignedInputs(psbt);
for (const PSBTOutput& output : psbt.outputs) {
(void)output.IsNull();