mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-11 06:46:10 +00:00
use splitLines to read bootstrap nodes list (#1321)
This commit is contained in:
parent
a82c38d34f
commit
49cdd348d1
@ -120,7 +120,7 @@ proc loadEth2NetworkMetadata*(path: string): Eth2NetworkMetadata
|
|||||||
incompatible: false,
|
incompatible: false,
|
||||||
eth1Network: some goerli,
|
eth1Network: some goerli,
|
||||||
runtimePreset: runtimePreset,
|
runtimePreset: runtimePreset,
|
||||||
bootstrapNodes: readFile(path / "bootstrap_nodes.txt").split("\n"),
|
bootstrapNodes: readFile(path / "bootstrap_nodes.txt").splitLines(),
|
||||||
depositContractAddress: depositContractAddress,
|
depositContractAddress: depositContractAddress,
|
||||||
depositContractDeployedAt: depositContractBlock,
|
depositContractDeployedAt: depositContractBlock,
|
||||||
genesisData: genesisData)
|
genesisData: genesisData)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user