From ca2c10c5e5a604b90af2a2640d9665a5e94cb371 Mon Sep 17 00:00:00 2001 From: binarybaron <86064887+binarybaron@users.noreply.github.com> Date: Tue, 26 Mar 2024 11:43:59 +0100 Subject: [PATCH] Update swap/src/bitcoin/wallet.rs Co-authored-by: Byron Hambly --- swap/src/bitcoin/wallet.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/swap/src/bitcoin/wallet.rs b/swap/src/bitcoin/wallet.rs index 652062e8..5d8685f3 100644 --- a/swap/src/bitcoin/wallet.rs +++ b/swap/src/bitcoin/wallet.rs @@ -941,8 +941,7 @@ impl Confirmed { pub fn blocks_left_until(&self, target: T) -> u32 where - T: Into, - T: Copy, + T: Into + Copy, { if self.meets_target(target) { 0