Skip to content

Commit

Permalink
chore: migration: use PackedLockTime struct
Browse files Browse the repository at this point in the history
  • Loading branch information
sander2 committed Oct 7, 2022
1 parent eae214d commit ac73742
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bitcoin/src/light/wallet.rs
@@ -1,4 +1,4 @@
use bitcoincore_rpc::bitcoin::{blockdata::constants::WITNESS_SCALE_FACTOR, PublicKey, Witness};
use bitcoincore_rpc::bitcoin::{blockdata::constants::WITNESS_SCALE_FACTOR, PublicKey, Witness, PackedLockTime};

use super::{electrs::ElectrsClient, error::Error};
use crate::{
Expand Down Expand Up @@ -348,7 +348,7 @@ impl Wallet {

Transaction {
version: 2,
lock_time: Default::default(),
lock_time: PackedLockTime::ZERO,
input: Default::default(),
output,
}
Expand Down

0 comments on commit ac73742

Please sign in to comment.