aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--db_query_interface.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/db_query_interface.go b/db_query_interface.go
index 11137e4c2..007f4bf28 100644
--- a/db_query_interface.go
+++ b/db_query_interface.go
@@ -72,6 +72,8 @@ func (i *DbInterface) ParseInput(input string) bool {
fmt.Println(hex.EncodeToString([]byte(i.trie.root)))
case "rawroot":
fmt.Println(i.trie.root)
+ case "print":
+ i.db.Print()
case "exit", "quit", "q":
return false
case "help":