mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-04-20 07:56:05 -04:00
Update swap/src/bitcoin/wallet.rs
Co-authored-by: Byron Hambly <byron@hambly.dev>
This commit is contained in:
parent
488c9a99e2
commit
ca2c10c5e5
@ -941,8 +941,7 @@ impl Confirmed {
|
||||
|
||||
pub fn blocks_left_until<T>(&self, target: T) -> u32
|
||||
where
|
||||
T: Into<u32>,
|
||||
T: Copy,
|
||||
T: Into<u32> + Copy,
|
||||
{
|
||||
if self.meets_target(target) {
|
||||
0
|
||||
|
Loading…
x
Reference in New Issue
Block a user