From 7152908d2cc1d30e46f9ee274e3e554eef5fd61d Mon Sep 17 00:00:00 2001 From: Usman Saleem Date: Tue, 29 Aug 2023 23:42:50 +1000 Subject: [PATCH] code cleanup --- .../signing/bulkloading/SecpWalletBulkLoaderTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/signing/src/test/java/tech/pegasys/web3signer/signing/bulkloading/SecpWalletBulkLoaderTest.java b/signing/src/test/java/tech/pegasys/web3signer/signing/bulkloading/SecpWalletBulkLoaderTest.java index 5a8bcd821..a70ed5289 100644 --- a/signing/src/test/java/tech/pegasys/web3signer/signing/bulkloading/SecpWalletBulkLoaderTest.java +++ b/signing/src/test/java/tech/pegasys/web3signer/signing/bulkloading/SecpWalletBulkLoaderTest.java @@ -40,10 +40,8 @@ void initWalletAndPasswordFiles() throws Exception { final Path passwordFile = passwordDir.resolve(fileName.substring(0, fileName.lastIndexOf(".json")) + ".txt"); Files.writeString(passwordFile, "test123"); - } - // write files in wallet dir that will be ignored by bulk loading logic - for (int i = 0; i < 4; i++) { + // write files in wallet dir that will be ignored by bulk loading logic Files.writeString(walletDir.resolve(i + ".txt"), "ignored"); } }