working towards refactoring network
This commit is contained in:
parent
bfd4bbe021
commit
3ebacd50cc
5 changed files with 70 additions and 57 deletions
|
|
@ -255,7 +255,7 @@ WalletFactory.prototype.joinCreateSession = function(secret, nickname, passphras
|
|||
});
|
||||
|
||||
self.network.start(opts, function() {
|
||||
self.network.connectTo(s.pubKey);
|
||||
self.network.greet(s.pubKey);
|
||||
|
||||
self.network.on('data', function(sender, data) {
|
||||
if (data.type === 'walletId') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue