Skip to content

timestamp timelocks are not satisfied #183

@LLFourn

Description

@LLFourn

It looks like the logic of finalize_psbt only checks if height based timelocks are satisfied:

                  match desc.satisfy(
                        &mut tmp_input,
                        (
                            PsbtInputSatisfier::new(psbt, n),
                            After::new(current_height, false),
                            Older::new(current_height, create_height, false),
                        ),
                    ) {

In addition, we should check satisfaction of timestamp based timelocks. I will fix this in bdk_core but I thought this was worth noting and fixing ahead of then.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions