aboutsummaryrefslogtreecommitdiff
path: root/lib/data/merklelist.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/data/merklelist.ex')
-rw-r--r--lib/data/merklelist.ex2
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