mirror of https://github.com/BTCPrivate/copay.git
handle disconnect sent
This commit is contained in:
parent
85030f00ab
commit
0be63c2801
|
@ -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…
Reference in New Issue