Skip to content

Commit d4f9162

Browse files
authored
Merge pull request #888 from TheCharlatan/fixupBuild
Swapd: Fix broken build
2 parents 50853bb + 1eafcdf commit d4f9162

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/swapd/temporal_safety.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ impl TemporalSafety {
114114
current_height: u64,
115115
) -> u64 {
116116
let finality_thr = match blockchain {
117-
Blockchain::Bitcoin => self.btc_finality_thr,
118-
Blockchain::Monero => self.xmr_finality_thr,
117+
Blockchain::Bitcoin => self.arb_finality,
118+
Blockchain::Monero => self.acc_finality,
119119
};
120120
current_height.saturating_sub(finality_thr as u64)
121121
}

0 commit comments

Comments
 (0)