aboutsummaryrefslogtreecommitdiff
path: root/lib/data
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-08-27 16:19:53 +0200
committerAlex Auvolat <alex@adnab.me>2018-08-27 16:19:53 +0200
commit233989490b0b01670b03154f9e8f83be13e5a89a (patch)
tree9a98641848fc57f85ce2c451911d4030c05153f9 /lib/data
parent6cc81b55f2466cd7526f47da6980e3eb47041457 (diff)
downloadshard-233989490b0b01670b03154f9e8f83be13e5a89a.tar.gz
shard-233989490b0b01670b03154f9e8f83be13e5a89a.zip
Big fixes (1 line), small changes (many lines)
Diffstat (limited to 'lib/data')
-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