diff options
Diffstat (limited to 'lib/data')
-rw-r--r-- | lib/data/merklelist.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/data/merklelist.ex b/lib/data/merklelist.ex index 71483bd..357f336 100644 --- a/lib/data/merklelist.ex +++ b/lib/data/merklelist.ex @@ -78,7 +78,7 @@ defmodule SData.MerkleList do callback.(item) new_state :duplicate -> insert_many_aux(state, rest, callback) - :before -> push(insert_many_aux(state_rest, [item | rest], callback), item) + :before -> push(insert_many_aux(state_rest, [item | rest], callback), front) end end end |