diff --git a/crates/bdk/src/wallet/mod.rs b/crates/bdk/src/wallet/mod.rs index a6b4f9874..c31515604 100644 --- a/crates/bdk/src/wallet/mod.rs +++ b/crates/bdk/src/wallet/mod.rs @@ -1347,7 +1347,7 @@ impl Wallet { } Some(tx_builder::Version(x)) => x, None if requirements.csv.is_some() => 2, - _ => 1, + None => 1, }; // We use a match here instead of a unwrap_or_else as it's way more readable :)