Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Oct 23, 2023
1 parent 7aab8f5 commit 19c6ac0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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);
}
}

Expand Down

0 comments on commit 19c6ac0

Please sign in to comment.