diff --git a/Cargo.lock b/Cargo.lock index 8c4302e76..5dd267511 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -475,7 +475,7 @@ checksum = "73290177011694f38ec25e165d0387ab7ea749a4b81cd4c80dae5988229f7a57" [[package]] name = "bitcoin-serai" -version = "0.2.0" +version = "0.3.0" dependencies = [ "bitcoin", "flexible-transcript", diff --git a/coins/bitcoin/src/wallet/mod.rs b/coins/bitcoin/src/wallet/mod.rs index bfe5494c6..d1146dba2 100644 --- a/coins/bitcoin/src/wallet/mod.rs +++ b/coins/bitcoin/src/wallet/mod.rs @@ -146,9 +146,7 @@ impl Scanner { let mut res = vec![]; for (vout, output) in tx.output.iter().enumerate() { // If the vout index exceeds 2**32, stop scanning outputs - let Ok(vout) = u32::try_from(vout) else { - break - }; + let Ok(vout) = u32::try_from(vout) else { break }; if let Some(offset) = self.scripts.get(&output.script_pubkey) { res.push(ReceivedOutput {