hide useless messages

This commit is contained in:
ansuz 2017-07-04 10:19:18 +02:00
parent a59853f9c2
commit f85af7ef4c

View File

@ -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);
}
};