hide useless messages

pull/1/head
ansuz 7 years ago
parent a59853f9c2
commit f85af7ef4c

@ -99,7 +99,10 @@ types of messages:
delete ctx.pending[txid];
return;
}
if (parsed.length !== 2) {
// HACK to hide messages from the anon rpc
if (parsed.length !== 4) {
console.log(parsed);
console.error("received message [%s] for txid[%s] with no callback", msg, txid);
}
};

Loading…
Cancel
Save