From e92969db3f0a2093da16eb7db18c9db49225a719 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 11 Sep 2018 14:18:08 +0200 Subject: Add todo list --- shard/lib/data/merklesearchtree.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shard/lib/data') 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})") -- cgit v1.2.3