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

Be sure to reset state when peer sets timestamp list to [] #56

Closed MaddieM4 closed 10 years ago

MaddieM4 commented 10 years ago

We are not firing the onPrimitive callback in some cases where we should, which is a sign that we are not calling Document.State.Reset(). Ensure that we call that.