don't say it's sent when it's not

pull/1037/head
Ryan Tharp 6 years ago
parent 4c870d4b74
commit 2a7ebe6696

@ -206,6 +206,18 @@ class LokiMessageAPI {
targetNode
);
// do not return true if we get false here...
if (result === false) {
log.warn(
`loki_message:::_sendToNode - Got false from ${targetNode.ip}:${
targetNode.port
}`
);
successiveFailures += 1;
// eslint-disable-next-line no-continue
continue;
}
// Make sure we aren't doing too much PoW
const currentDifficulty = window.storage.get('PoWDifficulty', null);
if (

Loading…
Cancel
Save