Update swap/src/bitcoin/wallet.rs

Co-authored-by: Byron Hambly <byron@hambly.dev>
pull/1276/head
binarybaron 2 months ago committed by GitHub
parent b8bd2fa0e8
commit 488c9a99e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -972,8 +972,7 @@ impl ScriptStatus {
// Calculate the number of blocks left until the target is met.
pub fn blocks_left_until<T>(&self, target: T) -> u32
where
T: Into<u32>,
T: Copy,
T: Into<u32> + Copy,
{
match self {
ScriptStatus::Confirmed(inner) => inner.blocks_left_until(target),

Loading…
Cancel
Save