mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-27 10:48:11 -07:00
bitview: reorg part 8
This commit is contained in:
@@ -121,10 +121,11 @@ pub fn run() -> color_eyre::Result<()> {
|
||||
Ok(()) as Result<()>
|
||||
};
|
||||
|
||||
let _handle = tokio::runtime::Builder::new_multi_thread()
|
||||
let runtime = tokio::runtime::Builder::new_multi_thread()
|
||||
.enable_all()
|
||||
.build()?
|
||||
.spawn(future);
|
||||
.build()?;
|
||||
|
||||
let _handle = runtime.spawn(future);
|
||||
|
||||
loop {
|
||||
wait_for_synced_node(rpc)?;
|
||||
|
||||
Reference in New Issue
Block a user