fix(closing): another part of closing fixes

This commit is contained in:
Alexey Kasyanchuk
2018-08-15 03:14:55 +03:00
parent 2a8f06047b
commit e3fd5a4c84
3 changed files with 19 additions and 13 deletions

View File

@ -833,13 +833,10 @@ module.exports = function (send, recive, dataDirectory, version, env)
}))
})
if(!this.preventNetworkOnExit)
{
await Promise.all([
saveBootstrapPeers('api.myjson.com', '/bins/1e5rmh'),
saveBootstrapPeers('jsonblob.com', '/api/jsonBlob/013a4415-3533-11e8-8290-a901f3cf34aa')
])
}
await Promise.all([
saveBootstrapPeers('api.myjson.com', '/bins/1e5rmh'),
saveBootstrapPeers('jsonblob.com', '/api/jsonBlob/013a4415-3533-11e8-8290-a901f3cf34aa')
])
}
}