Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
Fix issue with target height
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapk00 committed Jun 9, 2022
1 parent 9c61a5f commit b1880fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/src/lightwallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1124,8 +1124,7 @@ impl<P: consensus::Parameters + Send + Sync + 'static> LightWallet<P> {
};

let (progress_notifier, progress_notifier_rx) = mpsc::channel();
// TODO: Target height
let mut builder = Builder::new(self.config.get_params().clone(), BlockHeight::from_u32(1_695_000));
let mut builder = Builder::new(self.config.get_params().clone(), target_height);
builder.with_progress_notifier(progress_notifier);

// Create a map from address -> sk for all taddrs, so we can spend from the
Expand Down

0 comments on commit b1880fd

Please sign in to comment.