fix typo `received` (#1920)

Signed-off-by: hp <hp_ctt@gmail.com>

Co-authored-by: hp <hp_ctt@gmail.com>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
pull/1944/head
Helder Pinto 4 years ago committed by GitHub
parent 7998b99644
commit bebb6719bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ethereum/p2p/src/main/java/org/hyperledger/besu/ethereum/p2p/discovery/internal/PeerDiscoveryController.java

@ -337,7 +337,7 @@ public class PeerDiscoveryController {
break; break;
case ENR_REQUEST: case ENR_REQUEST:
if (PeerDiscoveryStatus.BONDED.equals(peer.getStatus())) { if (PeerDiscoveryStatus.BONDED.equals(peer.getStatus())) {
LOG.trace("ENR_REQUEST recevied from bonded peer Id: {}", peer.getId()); LOG.trace("ENR_REQUEST received from bonded peer Id: {}", peer.getId());
packet packet
.getPacketData(ENRRequestPacketData.class) .getPacketData(ENRRequestPacketData.class)
.ifPresent(p -> respondToENRRequest(p, packet.getHash(), peer)); .ifPresent(p -> respondToENRRequest(p, packet.getHash(), peer));

Loading…
Cancel
Save