they were failing before and after the change I just made. Might be a race where our different computers are doing thing at different speeds
Error:
pub changes
✔ 0 pubs available
✔ 0 pubs available
/home/mix/projects/SSBC/ssb-friend-pub/node_modules/flumedb/wrap.js:11
if(flume.closed) throw new Error('cannot call:'+name+', flumedb instance closed')
^
Error: cannot call:messagesByType, flumedb instance closed
at throwIfClosed (/home/mix/projects/SSBC/ssb-friend-pub/node_modules/flumedb/wrap.js:11:28)
at EventEmitter.<anonymous> (/home/mix/projects/SSBC/ssb-friend-pub/node_modules/flumedb/wrap.js:40:9)
at apply (/home/mix/projects/SSBC/ssb-friend-pub/node_modules/muxrpc-validation/index.js:171:15)
at EventEmitter.<anonymous> (/home/mix/projects/SSBC/ssb-friend-pub/node_modules/muxrpc-validation/index.js:95:14)
at EventEmitter.hooked [as messagesByType] (/home/mix/projects/SSBC/ssb-friend-pub/node_modules/hoox/index.js:10:15)
at calculatePubsWithinFriendHops (/home/mix/projects/SSBC/ssb-friend-pub/index.js:97:12)
at gotHops (/home/mix/projects/SSBC/ssb-friend-pub/index.js:48:7)
at /home/mix/projects/SSBC/ssb-friend-pub/node_modules/pull-stream/sinks/drain.js:24:37
at callback (/home/mix/projects/SSBC/ssb-friend-pub/node_modules/pull-pushable/index.js:84:5)
at Function.push (/home/mix/projects/SSBC/ssb-friend-pub/node_modules/pull-pushable/index.js:44:7)
✖ 1 pub available
------------------
operator: equal
expected: 1
actual: 0
at: server.friendPub.pubChanges.pubs (/home/mix/projects/SSBC/ssb-friend-pub/tests/pub-changes.js:28:9)
stack: |-
Error: 1 pub available
at Test.assert [as _assert] (/home/mix/projects/SSBC/ssb-friend-pub/node_modules/tape/lib/test.js:226:54)
at Test.bound [as _assert] (/home/mix/projects/SSBC/ssb-friend-pub/node_modules/tape/lib/test.js:77:32)
at Test.equal (/home/mix/projects/SSBC/ssb-friend-pub/node_modules/tape/lib/test.js:386:10)
at Test.bound [as equal] (/home/mix/projects/SSBC/ssb-friend-pub/node_modules/tape/lib/test.js:77:32)
at server.friendPub.pubChanges.pubs (/home/mix/projects/SSBC/ssb-friend-pub/tests/pub-changes.js:28:9)
at calculatePubsWithinFriendHops (/home/mix/projects/SSBC/ssb-friend-pub/index.js:94:23)
at gotHops (/home/mix/projects/SSBC/ssb-friend-pub/index.js:48:7)
at /home/mix/projects/SSBC/ssb-friend-pub/node_modules/pull-stream/sinks/drain.js:24:37
at callback (/home/mix/projects/SSBC/ssb-friend-pub/node_modules/pull-pushable/index.js:84:5)
at Function.push (/home/mix/projects/SSBC/ssb-friend-pub/node_modules/pull-pushable/index.js:44:7)
they were failing before and after the change I just made. Might be a race where our different computers are doing thing at different speeds
Error: