remove dead code

pull/1085/head
Ryan Tharp 5 years ago
parent cd8f67a93a
commit 2907f3d154

@ -305,7 +305,6 @@ class LokiMessageAPI {
// won't include parsing failures...
successiveFailures = 0;
if (messages.length) {
// log.debug(`loki_message:::_openRetrieveConnection - received ${messages.length} messages from ${nodeData.ip}:${nodeData.port}`)
const lastMessage = _.last(messages);
nodeData.lastHash = lastMessage.hash;
await lokiSnodeAPI.updateLastHash(

@ -109,7 +109,6 @@ function abortableIterator(array, iterator) {
start: async serially => {
let item = destructableList.pop();
while (item && !abortIteration) {
// log.debug('iterating on item', item);
if (serially) {
try {
// eslint-disable-next-line no-await-in-loop

Loading…
Cancel
Save