diff options
author | Alex Auvolat <alex@adnab.me> | 2018-08-27 16:19:53 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-08-27 16:19:53 +0200 |
commit | 233989490b0b01670b03154f9e8f83be13e5a89a (patch) | |
tree | 9a98641848fc57f85ce2c451911d4030c05153f9 /lib/data | |
parent | 6cc81b55f2466cd7526f47da6980e3eb47041457 (diff) | |
download | shard-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.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 |