Merge pull request #1296 from matiaspando/error/joinfullwallet
Bug found that stops sending messages
This commit is contained in:
commit
daa5fcaf07
1 changed files with 3 additions and 1 deletions
|
|
@ -340,6 +340,7 @@ Network.prototype.getCopayerIds = function() {
|
||||||
|
|
||||||
|
|
||||||
Network.prototype.send = function(dest, payload, cb) {
|
Network.prototype.send = function(dest, payload, cb) {
|
||||||
|
preconditions.checkState(this.socket);
|
||||||
preconditions.checkArgument(payload);
|
preconditions.checkArgument(payload);
|
||||||
|
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
@ -357,7 +358,8 @@ Network.prototype.send = function(dest, payload, cb) {
|
||||||
var to = dest[ii];
|
var to = dest[ii];
|
||||||
if (to == this.copayerId)
|
if (to == this.copayerId)
|
||||||
continue;
|
continue;
|
||||||
log.debug('SEND to: ' + to, this.copayerId, payload);
|
|
||||||
|
log.debug('SEND to: ' + to, this.copayerId, JSON.stringify(payload));
|
||||||
|
|
||||||
var message = this.encode(to, payload);
|
var message = this.encode(to, payload);
|
||||||
this.socket.emit('message', message);
|
this.socket.emit('message', message);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue