use splitLines to read bootstrap nodes list (#1321)

This commit is contained in:
Giovanni Petrantoni 2020-07-15 17:13:34 +09:00 committed by GitHub
parent a82c38d34f
commit 49cdd348d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ proc loadEth2NetworkMetadata*(path: string): Eth2NetworkMetadata
incompatible: false,
eth1Network: some goerli,
runtimePreset: runtimePreset,
bootstrapNodes: readFile(path / "bootstrap_nodes.txt").split("\n"),
bootstrapNodes: readFile(path / "bootstrap_nodes.txt").splitLines(),
depositContractAddress: depositContractAddress,
depositContractDeployedAt: depositContractBlock,
genesisData: genesisData)