Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
RunOnFluxBot committed Nov 13, 2023
1 parent af7d18c commit fb30367
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions services/fluxCommunication.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,7 @@ function handleIncomingConnection(websocket, req, expressWS) {
return; // do not react to the message
}
// check blocked list
const dataObj = serviceHelper.ensureObject(msg);
const { pubKey } = dataObj;
const { pubKey } = msgObj;
if (blockedPubKeysCache.has(pubKey)) {
try {
log.info('Closing incoming connection, peer is on blockedList');
Expand Down

0 comments on commit fb30367

Please sign in to comment.