-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(wallet): create tx locktime cltv for a specific time #1682
test(wallet): create tx locktime cltv for a specific time #1682
Conversation
a636a6b
to
af30026
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK af30026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tACK af30026
I just left a suggestion to fix a typo on the code comment.
fd5d91a
to
5471c3b
Compare
In 5471c3b: the commit doesn't appear to be signed |
5471c3b
to
f38b3eb
Compare
f38b3eb
to
2c11d46
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
This PR adds a unit test that checks the satisfaction of timestamp-based timelocks. The goal is to test the absolute time therefore the variable passed to the miniscript fragment
after
has to be equal to or greater that 500_000_000 otherwise it would be checking the block height.Notes to the reviewers
This unit test tries to check if #642 is still an issue.
Checklists
All Submissions:
cargo fmt
andcargo clippy
before committing