disable unnecessary messages

pull/1/head
ansuz 2017-04-07 17:21:04 +02:00
parent abd87e1322
commit a70388284d
1 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,8 @@ types of messages:
var pending = ctx.pending[txid];
if (!(parsed && parsed.slice)) {
return void console.error('MALFORMED_RPC_RESPONSE');
// RPC responses are arrays. this message isn't meant for us.
return;
}
var response = parsed.slice(2);
@ -70,9 +71,8 @@ types of messages:
}
}
pending(void 0, response);
} else {
console.log("No callback provided");
}
//else { console.log("No callback provided"); }
};
var create = function (network, edPrivateKey, edPublicKey, cb) {