handle disconnect sent

This commit is contained in:
Matias Alejo Garcia 2014-06-09 17:37:06 -03:00
commit 0be63c2801

View file

@ -379,6 +379,8 @@ Network.prototype._sendToOne = function(copayerId, payload, sig, cb) {
};
Network.prototype.send = function(copayerIds, payload, cb) {
if (!payload || !this.netKey) return cb();
var self=this;
if (!copayerIds) {
copayerIds = this.connectedCopayers();