diff --git a/www/common/rpc.js b/www/common/rpc.js index 77566d2cb..b69a5ce5a 100644 --- a/www/common/rpc.js +++ b/www/common/rpc.js @@ -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) {