some transfer fixes

This commit is contained in:
Alexey Kasyanchuk
2018-09-01 05:08:05 +03:00
parent cdfed5ae38
commit 3699fbb549
2 changed files with 50 additions and 8 deletions

View File

@ -66,6 +66,7 @@ module.exports = function (send, recive, dataDirectory, version, env)
const p2p = new P2PServer(send)
p2p.version = version
p2p.encryptor = encryptor
p2p.dataDirectory = dataDirectory // make file transfer work
p2p.listen()
const p2pStore = new P2PStore(p2p, sphinx)