From 1a325e16746b9e1d96541ac994c98730fbfb45ff Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Tue, 31 Oct 2023 12:35:50 +0000 Subject: [PATCH] use const --- .../tech/pegasys/teku/networks/Eth2NetworkConfiguration.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ethereum/networks/src/main/java/tech/pegasys/teku/networks/Eth2NetworkConfiguration.java b/ethereum/networks/src/main/java/tech/pegasys/teku/networks/Eth2NetworkConfiguration.java index 5f354be1e1c..ebcc42fce46 100644 --- a/ethereum/networks/src/main/java/tech/pegasys/teku/networks/Eth2NetworkConfiguration.java +++ b/ethereum/networks/src/main/java/tech/pegasys/teku/networks/Eth2NetworkConfiguration.java @@ -588,7 +588,9 @@ public Builder applyNetworkDefaults(final String networkName) { } private Builder resetAndApplyBasicDefaults(final String networkName) { - return reset().trustedSetupFromClasspath("mainnet-trusted-setup.txt").constants(networkName); + return reset() + .trustedSetupFromClasspath(MAINNET_TRUSTED_SETUP_FILENAME) + .constants(networkName); } public Builder applyNetworkDefaults(final Eth2Network network) {