mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-10 07:08:05 -05:00
drk: Output a little note when subscribing for block notifications.
This commit is contained in:
@@ -65,6 +65,7 @@ impl Drk {
|
||||
let req = JsonRequest::new("blockchain.subscribe_blocks", json!([]));
|
||||
task::spawn(async move { rpc_client.subscribe(req, subscriber).await.unwrap() });
|
||||
eprintln!("Detached subscription to background");
|
||||
eprintln!("All is good. Waiting for block notifications...");
|
||||
|
||||
let e = loop {
|
||||
match subscription.receive().await {
|
||||
|
||||
Reference in New Issue
Block a user