Skip to content

Commit af09d57

Browse files
committed
fix(example_wallet_rpc): reorder imports and clean up whitespace in main.rs
1 parent a4ed3dc commit af09d57

File tree

1 file changed

+2
-2
lines changed
  • example-crates/example_wallet_rpc/src

1 file changed

+2
-2
lines changed

example-crates/example_wallet_rpc/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ use bdk_wallet::{
88
KeychainKind, Wallet,
99
};
1010
use clap::{self, Parser};
11-
use std::{path::PathBuf, sync::mpsc::sync_channel, thread::spawn, time::Instant};
1211
use serde_json::json;
12+
use std::{path::PathBuf, sync::mpsc::sync_channel, thread::spawn, time::Instant};
1313

1414
const DB_MAGIC: &str = "bdk-rpc-wallet-example";
1515

@@ -192,7 +192,7 @@ fn main() -> anyhow::Result<()> {
192192
}
193193
}
194194
}
195-
195+
196196
let wallet_tip_end = wallet.latest_checkpoint();
197197
let balance = wallet.balance();
198198
println!(

0 commit comments

Comments
 (0)