summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2014-09-10 11:04:48 +0200
committerLinus Nordberg <linus@nordberg.se>2014-09-10 11:04:48 +0200
commit411fd2ab97d8c050d10db9fce5aa6c9dbefaa4d0 (patch)
tree1071d6d4c6a33a53302e26027d986db5f0bf9c15 /src
parent9f85fbe45eb02ab861c8a7ec46f2dc8e15994e53 (diff)
Indent properly.
Diffstat (limited to 'src')
-rw-r--r--src/ht.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ht.erl b/src/ht.erl
index a2f64f9..98b2633 100644
--- a/src/ht.erl
+++ b/src/ht.erl
@@ -96,10 +96,10 @@ add(#history_tree{version = V, store = Store}, Entry) ->
LeafHash = mkleafhash(Entry),
LayerMap = reverse([B || <<B:1>> <= binary:encode_unsigned(NewVersion)]),
#history_tree{version = NewVersion,
- store = update(ts:store(Store, {LeafIndex, 0}, LeafHash),
- 1, LayerMap,
- #inner{index = LeafIndex, layer = 0,
- hash = LeafHash})}.
+ store = update(ts:store(Store, {LeafIndex, 0}, LeafHash),
+ 1, LayerMap,
+ #inner{index = LeafIndex, layer = 0,
+ hash = LeafHash})}.
-spec tree_hash(history_tree()) -> binary().
tree_hash(Tree) ->