Skip to content

Commit

Permalink
whatever
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed May 6, 2024
1 parent ce75db2 commit c58e58d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resolvers/electrum_blocking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ impl RgbResolver for Client {
let tip_height = u32::try_from(header.height).map_err(|_| s!("impossible height value"))?;
let height: isize = (tip_height - confirmations) as isize;
const SAFETY_MARGIN: isize = 1;
// first check from expected min to max height, then max + 1 and finally min - 1
// first check from expected min to max height
let get_merkle_res = (1..=forward + 1)
// we need this under assumption that electrum was lying due to "DB desynchronization"
// since this have a very low probability we do that after everything else
Expand Down

0 comments on commit c58e58d

Please sign in to comment.