aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Hand <joe@joeahand.com>2017-05-08 09:20:25 -0700
committerGitHub <noreply@github.com>2017-05-08 09:20:25 -0700
commit13df42efd27b4c7d03e4e064b602931b7d3ca924 (patch)
treea1abc4263c9aebe03e50bca0b3b58d8cb80a9fc4
parentb50b7465af793250ace9562134ada8b3328eddc2 (diff)
downloaddat-docs-13df42efd27b4c7d03e4e064b602931b7d3ca924.tar.gz
dat-docs-13df42efd27b4c7d03e4e064b602931b7d3ca924.zip
fix example from #53 pr (#55)
-rw-r--r--papers/dat-paper.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/papers/dat-paper.md b/papers/dat-paper.md
index c6a4dcf..933df85 100644
--- a/papers/dat-paper.md
+++ b/papers/dat-paper.md
@@ -252,8 +252,8 @@ This tree is for the hashes of the contents of the photos. There is also a secon
```
0 - hash({contentRegister: '9e29d624...'})
1 - hash(0 + 2)
-2 - hash({"bat.png", first: 0, last: 3})
-4 - hash({"cat.png", first: 3, last: 3})
+2 - hash({"bat.png", first: 0, length: 3})
+4 - hash({"cat.png", first: 3, length: 3})
```
The first entry in this feed is a special metadata entry that tells Dat the address of the second feed (the content register). Note that node 3 is not included yet, because 3 is the hash of `1 + 5`, but 5 does not exist yet, so will be written at a later update.