* lgtm yml

Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
pull/3712/head
Sally MacFarlane 3 years ago committed by GitHub
parent fe673431fa
commit 917c6c6d57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      .lgtm.yml
  2. 2
      ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/peervalidation/AbstractPeerBlockValidator.java

@ -0,0 +1,5 @@
extraction:
java:
index:
java_version: "17"
build_command: JAVA_OPTS="-Xmx1000M" ./gradlew -Dorg.gradle.java.home=/usr/lib/jvm/java-11-openjdk-amd64 --no-scan compileJava

@ -78,7 +78,7 @@ abstract class AbstractPeerBlockValidator implements PeerValidator {
if (err != null) {
// Mark peer as invalid on error
LOG.debug(
"Peer {} is invalid because required block block ({}) is unavailable: {}",
"Peer {} is invalid because required block ({}) is unavailable: {}",
ethPeer,
blockNumber,
err.toString());

Loading…
Cancel
Save