handle disconnect sent
This commit is contained in:
parent
85030f00ab
commit
0be63c2801
1 changed files with 2 additions and 0 deletions
|
|
@ -379,6 +379,8 @@ Network.prototype._sendToOne = function(copayerId, payload, sig, cb) {
|
||||||
};
|
};
|
||||||
|
|
||||||
Network.prototype.send = function(copayerIds, payload, cb) {
|
Network.prototype.send = function(copayerIds, payload, cb) {
|
||||||
|
if (!payload || !this.netKey) return cb();
|
||||||
|
|
||||||
var self=this;
|
var self=this;
|
||||||
if (!copayerIds) {
|
if (!copayerIds) {
|
||||||
copayerIds = this.connectedCopayers();
|
copayerIds = this.connectedCopayers();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue