Skip to content

Commit a4af9f2

Browse files
committed
chore: Keep elements::Locktime prefix
1 parent d20a0c5 commit a4af9f2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/lib.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,6 @@ pub trait ArbitraryOfType: Sized {
249249
mod tests {
250250
use base64::display::Base64Display;
251251
use base64::engine::general_purpose::STANDARD;
252-
#[cfg(feature = "serde")]
253-
use elements::LockTime;
254252
use simplicity::BitMachine;
255253
use std::borrow::Cow;
256254
use std::path::Path;
@@ -426,7 +424,7 @@ mod tests {
426424
let mut t = TestCase::program_file("./examples/non_interactive_fee_bump.simf")
427425
.with_witness_file("./examples/non_interactive_fee_bump.wit");
428426
t.sequence = elements::Sequence::ENABLE_LOCKTIME_NO_RBF;
429-
t.lock_time = LockTime::from_time(1734967235 + 600).unwrap();
427+
t.lock_time = elements::LockTime::from_time(1734967235 + 600).unwrap();
430428
t.include_fee_output = true;
431429
t.assert_run_success();
432430
}

0 commit comments

Comments
 (0)