summaryrefslogtreecommitdiff
path: root/src/db.erl
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-03-23 15:59:33 +0100
committerLinus Nordberg <linus@nordberg.se>2015-03-23 16:01:31 +0100
commit4d586a032257ee600e2191e7e701243cd8f7e92c (patch)
tree5544295c0b32e7138754f893a653c729f32f2aa4 /src/db.erl
parent5b0b390b9336c1992b076da6f2aa8a115970f0ef (diff)
Fix specs; remove unused file.
Add a spec; remove some warnings.
Diffstat (limited to 'src/db.erl')
-rw-r--r--src/db.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/db.erl b/src/db.erl
index 5760fe0..daa581c 100644
--- a/src/db.erl
+++ b/src/db.erl
@@ -84,8 +84,7 @@ get_by_leaf_hash(LeafHash) ->
end
end.
--spec get_by_entry_hash(binary()) -> notfound |
- {non_neg_integer(), binary(), binary()}.
+-spec get_by_entry_hash(binary()) -> notfound | {notfetched, binary(), binary()}.
get_by_entry_hash(EntryHash) ->
case leafhash_for_entryhash(EntryHash) of
noentry ->