summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network.rs6
-rw-r--r--src/ui.rs2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/network.rs b/src/network.rs
index ef23dad..181bb2c 100644
--- a/src/network.rs
+++ b/src/network.rs
@@ -229,7 +229,7 @@ impl Peer {
eprintln!("Rejecting remote block, POW verification failed");
return;
}
- println!("Accepting and storing remote block: {:?}", block);
+ println!("Accepting and storing remote block: {:#?}", block);
let network = parent
.upgrade()
.unwrap();
@@ -293,10 +293,10 @@ impl Peer {
}
}))
{
- println!("Setting IBD to {:?} from remote", bc);
+ println!("Setting IBD to {:#?} from remote", bc);
*self_bc = bc;
} else if *self_bc != bc {
- eprintln!("Remote IBD broadcast did not match ours, {:?} vs. {:?}", bc, self_bc);
+ eprintln!("Remote IBD broadcast did not match ours, {:#?} vs. {:#?}", bc, self_bc);
}
}
None => {
diff --git a/src/ui.rs b/src/ui.rs
index 81477c4..697c7f3 100644
--- a/src/ui.rs
+++ b/src/ui.rs
@@ -43,7 +43,7 @@ impl Ui {
if cmd[0] == "bc" {
println!(
- "{:?}",
+ "{:#?}",
self.blockchain
.lock()
.await