comment logs on networking

This commit is contained in:
Manuel Araoz 2014-08-19 11:59:37 -04:00
parent f219da9740
commit 1ae700f805
1 changed files with 3 additions and 3 deletions

View File

@ -210,7 +210,7 @@ Network.prototype._onMessage = function(enc) {
*/ */
console.log('receiving ' + JSON.stringify(payload)); //console.log('receiving ' + JSON.stringify(payload));
var self = this; var self = this;
switch (payload.type) { switch (payload.type) {
@ -359,9 +359,9 @@ Network.prototype.send = function(copayerIds, payload, cb) {
var l = copayerIds.length; var l = copayerIds.length;
var i = 0; var i = 0;
console.log('sending ' + JSON.stringify(payload)); //console.log('sending ' + JSON.stringify(payload));
copayerIds.forEach(function(copayerId) { copayerIds.forEach(function(copayerId) {
console.log('\t to ' + copayerId); //console.log('\t to ' + copayerId);
self.iterateNonce(); self.iterateNonce();
var opts = { var opts = {
nonce: self.networkNonce nonce: self.networkNonce