seeds = ""
`
+var FederationConfigTmpl = `[fed]
+xpubs = "1,2"
+quorum = 1
+`
+
// Select network seeds to merge a new string.
func selectNetwork(network string) string {
switch network {
case "mainnet":
- return defaultConfigTmpl + mainNetConfigTmpl
+ return defaultConfigTmpl + mainNetConfigTmpl + FederationConfigTmpl
case "testnet":
- return defaultConfigTmpl + testNetConfigTmpl
+ return defaultConfigTmpl + testNetConfigTmpl + FederationConfigTmpl
case "vapor":
- return defaultConfigTmpl + vaporNetConfigTmpl
+ return defaultConfigTmpl + vaporNetConfigTmpl + FederationConfigTmpl
default:
- return defaultConfigTmpl + soloNetConfigTmpl
+ return defaultConfigTmpl + soloNetConfigTmpl + FederationConfigTmpl
}
}