mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-07 01:08:08 +08:00
go-ipfs-config: address PR comments; remove commented/dead code
License: MIT Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
This commit is contained in:
parent
9e050b1526
commit
11f5cc698b
@ -20,13 +20,6 @@ var DefaultSNRServers = []string{
|
||||
"/ip4/178.62.61.185/tcp/4002/ipfs/QmVw6fGNqBixZE4bewRLT2VXX7fAHUHs8JyidDiJ1P7RUN",
|
||||
}
|
||||
|
||||
func initSNRConfig() (*SupernodeClientConfig, error) {
|
||||
// TODO perform validation
|
||||
return &SupernodeClientConfig{
|
||||
Servers: DefaultSNRServers,
|
||||
}, nil
|
||||
}
|
||||
|
||||
func (gcr *SupernodeClientConfig) ServerIPFSAddrs() ([]ipfsaddr.IPFSAddr, error) {
|
||||
var addrs []ipfsaddr.IPFSAddr
|
||||
for _, server := range gcr.Servers {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user