From 19c6ac05c69f02def46b9b7b5c445e0a50cf871d Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Mon, 23 Oct 2023 17:05:58 +0100 Subject: [PATCH] nits --- .../main/java/tech/pegasys/teku/kzg/ckzg4844/CKZG4844.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infrastructure/kzg/src/main/java/tech/pegasys/teku/kzg/ckzg4844/CKZG4844.java b/infrastructure/kzg/src/main/java/tech/pegasys/teku/kzg/ckzg4844/CKZG4844.java index 4f2f8c89213..fcc30ed704d 100644 --- a/infrastructure/kzg/src/main/java/tech/pegasys/teku/kzg/ckzg4844/CKZG4844.java +++ b/infrastructure/kzg/src/main/java/tech/pegasys/teku/kzg/ckzg4844/CKZG4844.java @@ -59,7 +59,7 @@ private CKZG4844() { public synchronized void loadTrustedSetup(final String trustedSetupFile) throws KZGException { if (loadedTrustedSetupFile.isPresent() && loadedTrustedSetupFile.get().equals(trustedSetupFile)) { - LOG.trace("Trusted setup from file {} is already loaded.", trustedSetupFile); + LOG.trace("Trusted setup from {} is already loaded", trustedSetupFile); return; } try { @@ -79,10 +79,10 @@ public synchronized void loadTrustedSetup(final String trustedSetupFile) throws g1Points.size(), CKZG4844Utils.flattenG2Points(g2Points), g2Points.size()); - LOG.debug("Loaded trusted setup from file {}", trustedSetupFile); + LOG.debug("Loaded trusted setup from {}", trustedSetupFile); loadedTrustedSetupFile = Optional.of(trustedSetupFile); } catch (final Exception ex) { - throw new KZGException("Failed to load trusted setup from file " + trustedSetupFile, ex); + throw new KZGException("Failed to load trusted setup from " + trustedSetupFile, ex); } }