mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-09 21:17:54 -05:00
[PIE-1531] Allow whitespace in file paths loaded from resources directory (#1329)
* [PIE-1531] Allow whitespace in file paths loaded from resources directory. * replace Resources.getResource call * Update LocalPermissioningConfigurationValidatorTest.java * Update RpcAuthFileValidatorTest.java * fix paths * Update SmartContractNodePermissioningAcceptanceTestBase.java Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
This commit is contained in:
committed by
GitHub
parent
b5c5fb9e2a
commit
48c51ac78d
@@ -34,7 +34,7 @@ public final class BlockTestUtil {
|
||||
try {
|
||||
Files.write(
|
||||
target,
|
||||
Resources.toByteArray(Resources.getResource("1000.blocks")),
|
||||
Resources.toByteArray(BlockTestUtil.class.getResource("/1000.blocks")),
|
||||
StandardOpenOption.CREATE,
|
||||
StandardOpenOption.TRUNCATE_EXISTING);
|
||||
} catch (final IOException ex) {
|
||||
|
||||
Reference in New Issue
Block a user