From 488c9a99e207caf3dd4c277354b55c4f679897fc Mon Sep 17 00:00:00 2001 From: binarybaron <86064887+binarybaron@users.noreply.github.com> Date: Tue, 26 Mar 2024 11:42:57 +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 a0e4ff73..652062e8 100644 --- a/swap/src/bitcoin/wallet.rs +++ b/swap/src/bitcoin/wallet.rs @@ -972,8 +972,7 @@ impl ScriptStatus { // Calculate the number of blocks left until the target is met. pub fn blocks_left_until(&self, target: T) -> u32 where - T: Into, - T: Copy, + T: Into + Copy, { match self { ScriptStatus::Confirmed(inner) => inner.blocks_left_until(target),