mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
cargo fmt
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user