[wallet] Add assume_height_reached in PSBTSatisfier

This commit is contained in:
Alekos Filini
2020-04-28 16:59:15 +02:00
parent 3895b30083
commit 04d04fd0b2
2 changed files with 15 additions and 4 deletions

View File

@@ -656,7 +656,7 @@ where
};
// TODO: use height once we sync headers
let satisfier = PSBTSatisfier::new(&psbt.inputs[n], None, None);
let satisfier = PSBTSatisfier::new(&psbt.inputs[n], true, None, None);
match desc.satisfy(input, satisfier) {
Ok(_) => continue,