feat: sign pubsub messages (#362)

* fix: forward pubsub publish callback to floodsub

chore: update floodsub version

* test: add random walk delay to config

* chore: update floodsub
This commit is contained in:
Jacob Heun
2019-05-07 13:45:59 +02:00
committed by GitHub
parent 71dcaafcac
commit 40978a1940
3 changed files with 3 additions and 4 deletions

View File

@ -63,9 +63,7 @@ module.exports = (node) => {
return nextTick(callback, errCode(new Error('data must be a Buffer'), 'ERR_DATA_IS_NOT_A_BUFFER'))
}
floodSub.publish(topic, data)
nextTick(() => callback())
floodSub.publish(topic, data, callback)
},
ls: (callback) => {