psbt: Allow both non_witness_utxo and witness_utxo

This commit is contained in:
Andrew Chow
2020-06-04 23:43:39 -04:00
parent 72f6bec1da
commit 5279d8bc07
5 changed files with 0 additions and 53 deletions

View File

@@ -39,7 +39,6 @@ void test_one_input(const std::vector<uint8_t>& buffer)
}
(void)psbt.IsNull();
(void)psbt.IsSane();
Optional<CMutableTransaction> tx = psbt.tx;
if (tx) {
@@ -50,7 +49,6 @@ void test_one_input(const std::vector<uint8_t>& buffer)
for (const PSBTInput& input : psbt.inputs) {
(void)PSBTInputSigned(input);
(void)input.IsNull();
(void)input.IsSane();
}
for (const PSBTOutput& output : psbt.outputs) {