aboutsummaryrefslogtreecommitdiff
path: root/shard/lib
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-09-11 14:18:08 +0200
committerAlex Auvolat <alex@adnab.me>2018-09-11 14:18:08 +0200
commite92969db3f0a2093da16eb7db18c9db49225a719 (patch)
tree03d0993fa249301d9d1672f2a9103c8f9d0f4a86 /shard/lib
parent562ab609022e08b18be09f863a987b1523726d4c (diff)
downloadshard-e92969db3f0a2093da16eb7db18c9db49225a719.tar.gz
shard-e92969db3f0a2093da16eb7db18c9db49225a719.zip
Add todo list
Diffstat (limited to 'shard/lib')
-rw-r--r--shard/lib/data/merklesearchtree.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/shard/lib/data/merklesearchtree.ex b/shard/lib/data/merklesearchtree.ex
index 941d31d..039f6ce 100644
--- a/shard/lib/data/merklesearchtree.ex
+++ b/shard/lib/data/merklesearchtree.ex
@@ -358,7 +358,7 @@ defmodule SData.MerkleSearchTree do
defp dump(store, root, lvl) do
case root do
nil ->
- IO.puts(lvl <> "nil")
+ nil
_ ->
%Page{ level: level, low: low, list: lst} = Store.get(store, root)
IO.puts(lvl <> "#{root|>Base.encode16} (#{level})")