diff options
author | Linus Nordberg <linus@nordberg.se> | 2014-09-10 11:04:48 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2014-09-10 11:04:48 +0200 |
commit | 411fd2ab97d8c050d10db9fce5aa6c9dbefaa4d0 (patch) | |
tree | 1071d6d4c6a33a53302e26027d986db5f0bf9c15 /src | |
parent | 9f85fbe45eb02ab861c8a7ec46f2dc8e15994e53 (diff) |
Indent properly.
Diffstat (limited to 'src')
-rw-r--r-- | src/ht.erl | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) -> |