log unauthenticated RPC calls as silly

pull/1/head
ansuz 2019-09-06 14:36:22 +02:00
parent d375ee8107
commit a7e40040a1
1 changed files with 1 additions and 0 deletions

1
rpc.js
View File

@ -1837,6 +1837,7 @@ RPC.create = function (
};
var handleUnauthenticatedMessage = function (msg, respond, nfwssCtx) {
Log.silly('LOG_RPC', msg[0]);
switch (msg[0]) {
case 'GET_HISTORY_OFFSET': {
if (typeof(msg[1]) !== 'object' || typeof(msg[1].channelName) !== 'string') {