public repo (#520)

This commit is contained in:
a10zn8
2024-07-09 13:17:03 +03:00
committed by GitHub
parent 2901fc5cf0
commit 927575be22
4 changed files with 5 additions and 1628 deletions

3
.gitmodules vendored
View File

@@ -1,3 +1,6 @@
[submodule "emerald-grpc"]
path = emerald-grpc
url = git@github.com:p2p-org/emerald-grpc.git
[submodule "foundation/src/main/resources/public"]
path = foundation/src/main/resources/public
url = git@github.com:drpcorg/public.git

View File

@@ -14,7 +14,7 @@ class ChainsConfigReader(
private val chainsOptionsReader: ChainOptionsReader,
) : YamlConfigReader<ChainsConfig>() {
private val defaultConfig = this::class.java.getResourceAsStream("/chains.yaml")!!
private val defaultConfig = this::class.java.getResourceAsStream("/public/chains.yaml")!!
private fun readChains(input: MappingNode?): Map<Int, Pair<String, MappingNode>> {
return getMapping(input, "chain-settings")?.let { config ->

File diff suppressed because it is too large Load Diff