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),