diff options
author | Alex Auvolat <alex@adnab.me> | 2018-09-11 14:18:08 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-09-11 14:18:08 +0200 |
commit | e92969db3f0a2093da16eb7db18c9db49225a719 (patch) | |
tree | 03d0993fa249301d9d1672f2a9103c8f9d0f4a86 /shard | |
parent | 562ab609022e08b18be09f863a987b1523726d4c (diff) | |
download | shard-e92969db3f0a2093da16eb7db18c9db49225a719.tar.gz shard-e92969db3f0a2093da16eb7db18c9db49225a719.zip |
Add todo list
Diffstat (limited to 'shard')
-rw-r--r-- | shard/lib/data/merklesearchtree.ex | 2 |
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})") |