DJDNS / go-deje

Golang library for DEJE Next, a protocol/technology for decentralized document hosting and concurrent editing.
GNU Lesser General Public License v2.1
8 stars 0 forks source link

'djconvert up' should set value for timestamps array #37

Closed MaddieM4 closed 10 years ago

MaddieM4 commented 10 years ago

When upconverting a static JSON file to a doccache, we always create it as a single SET event. Given that there will always just be the one event, and we know it's the correct one to use, we should set the timestamps value not to be an empty array, but [event.Hash()].