ssbc / ssb-ebt

secure scuttlebutt replication with epidemic-broadcast-trees
MIT License
18 stars 10 forks source link

Make sure we don't start sending data before we got vector clock #51

Closed arj03 closed 3 years ago

arj03 commented 3 years ago

This should fix #50.

I have verified that this fixes the problem for me in browser-core through the power of console.log.

staltz commented 3 years ago

Good! I was hoping that this one would have a test. It's such a sneaky race condition that it's worth making sure

arj03 commented 3 years ago

Right, can do a test

arj03 commented 3 years ago

whooop