f2a5596899
This still has the line let lock_time = absolute::LockTime::from_height(psbt.unsigned_tx.lock_time.to_consensus_u32() + lock_time_delta).unwrap(); I'm unsure whether this "adding height to a locktime" concept is a meaningful thing or just the sort of thing that shows up in example code. Maybe we should have first-class support for it. Note that the line, as written, depends on the fact that the original locktime was a small blockheight. A proper function for this would handle the exceptional case gracefully. |
||
---|---|---|
.. | ||
contrib | ||
embedded | ||
examples | ||
fuzz | ||
src | ||
tests | ||
CHANGELOG.md | ||
Cargo.toml | ||
build.rs |