summaryrefslogtreecommitdiff
path: root/src/ui.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.rs')
-rw-r--r--src/ui.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ui.rs b/src/ui.rs
index b2c57c0..81477c4 100644
--- a/src/ui.rs
+++ b/src/ui.rs
@@ -40,6 +40,15 @@ impl Ui {
.new_block(trans),
));
}
+
+ if cmd[0] == "bc" {
+ println!(
+ "{:?}",
+ self.blockchain
+ .lock()
+ .await
+ );
+ }
None
}
}